Update Installation Scripts
This commit is contained in:
parent
ca5274936a
commit
5c0a49c2cf
21
1-install.sh
21
1-install.sh
@ -104,7 +104,6 @@ packagesPacman=(
|
|||||||
"xautolock"
|
"xautolock"
|
||||||
"blueman"
|
"blueman"
|
||||||
"sddm"
|
"sddm"
|
||||||
"code"
|
|
||||||
"papirus-icon-theme"
|
"papirus-icon-theme"
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -142,19 +141,18 @@ echo "-> Install .bashrc"
|
|||||||
_installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
|
_installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# Install custom issue (login prompt)
|
# Install sddm display manager
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
echo ""
|
echo ""
|
||||||
echo "-> Install login screen"
|
echo "-> Install sddm display manager"
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you want to install the custom login promt? (Yy/Nn): " yn
|
read -p "Do you want to install the custom login promt? (Yy/Nn): " yn
|
||||||
case $yn in
|
case $yn in
|
||||||
[Yy]* )
|
[Yy]* )
|
||||||
sudo cp ~/dotfiles/login/issue /etc/issue
|
sudo systemctl enable sddm.service
|
||||||
echo "Login promt installed."
|
|
||||||
break;;
|
break;;
|
||||||
[Nn]* )
|
[Nn]* )
|
||||||
echo "Custom login promt skipped."
|
echo "sddm installation skipped."
|
||||||
break;;
|
break;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
@ -166,7 +164,7 @@ done
|
|||||||
echo ""
|
echo ""
|
||||||
echo "-> Install wallapers"
|
echo "-> Install wallapers"
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you want to clone the wallpapers? (Yy/Nn): " yn
|
read -p "Do you want to clone the wallpapers? If not, the script will install 3 default wallpapers to ~/wallpaper/ (Yy/Nn): " yn
|
||||||
case $yn in
|
case $yn in
|
||||||
[Yy]* )
|
[Yy]* )
|
||||||
if [ -d ~/wallpaper/ ]; then
|
if [ -d ~/wallpaper/ ]; then
|
||||||
@ -184,7 +182,7 @@ while true; do
|
|||||||
mkdir ~/wallpaper
|
mkdir ~/wallpaper
|
||||||
fi
|
fi
|
||||||
cp ~/dotfiles/wallpapers/* ~/wallpaper
|
cp ~/dotfiles/wallpapers/* ~/wallpaper
|
||||||
echo "Default wallpaper installed."
|
echo "Default wallpapers installed."
|
||||||
break;;
|
break;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
@ -206,13 +204,10 @@ echo "-> Copy default wallpaper to .cache"
|
|||||||
cp ~/dotfiles/wallpapers/default.jpg ~/.cache/current_wallpaper.jpg
|
cp ~/dotfiles/wallpapers/default.jpg ~/.cache/current_wallpaper.jpg
|
||||||
echo "default wallpaper copied."
|
echo "default wallpaper copied."
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Enable SDDM Service
|
|
||||||
# ------------------------------------------------------
|
|
||||||
sudo systemctl enable sddm.service
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# DONE
|
# DONE
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
clear
|
clear
|
||||||
echo "DONE!"
|
echo "DONE!"
|
||||||
|
echo "Please continue with 2-install-hyprland.sh and/or 2-install-qtile.sh"
|
||||||
|
|
||||||
|
@ -70,4 +70,6 @@ _installPackagesPacman "${packagesPacman[@]}";
|
|||||||
_installPackagesYay "${packagesYay[@]}";
|
_installPackagesYay "${packagesYay[@]}";
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "DONE! Please reboot your system!"
|
echo "DONE!"
|
||||||
|
echo "Please continue with 3-dotfiles.sh"
|
||||||
|
|
||||||
|
@ -58,4 +58,6 @@ packagesPacman=(
|
|||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
_installPackagesPacman "${packagesPacman[@]}";
|
_installPackagesPacman "${packagesPacman[@]}";
|
||||||
|
|
||||||
echo "DONE! Please reboot your system!"
|
echo "DONE!"
|
||||||
|
echo "Please continue with 3-dotfiles.sh"
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@ echo " "
|
|||||||
echo "by Stephan Raabe (2023)"
|
echo "by Stephan Raabe (2023)"
|
||||||
echo "-------------------------------------"
|
echo "-------------------------------------"
|
||||||
echo ""
|
echo ""
|
||||||
echo "The script will ask for permission to remove existing folders and files."
|
echo "The script will ask for permission to remove existing directories and files from ~/.config/"
|
||||||
echo "But you can decide to keep your local versions by answering with No (Nn)."
|
echo "Symbolic links will then be created from ~/dotfiles into your ~/.config/ directory."
|
||||||
echo "Symbolic links will be created from ~/dotfiles into your home and .config directories."
|
echo "But you can decide to keep your personal versions by answering with No (Nn)."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
@ -78,7 +78,8 @@ _installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.to
|
|||||||
_installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config
|
_installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config
|
||||||
_installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config
|
_installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config
|
||||||
_installSymLink wal ~/.config/wal ~/dotfiles/wal/ ~/.config
|
_installSymLink wal ~/.config/wal ~/dotfiles/wal/ ~/.config
|
||||||
wal -i screenshots/
|
|
||||||
|
wal -i wallpapers/
|
||||||
echo "Pywal templates initiated!"
|
echo "Pywal templates initiated!"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
@ -115,4 +116,5 @@ _installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
|
|||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
# DONE
|
# DONE
|
||||||
# ------------------------------------------------------
|
# ------------------------------------------------------
|
||||||
echo "DONE! Please reboot your system!"
|
echo "DONE!"
|
||||||
|
echo "Please logout and reboot your system!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user