minor changes

This commit is contained in:
Solomon Laing 2021-08-29 20:57:25 +09:30
parent c38e09ff41
commit ccefc805cb

View File

@ -32,11 +32,36 @@ if command -v fish &> /dev/null; then
esac esac
fi fi
# make a very rudimentary attempt to configure lightdm
if command -v fish &> /dev/null; then
echo "You have lightdm installed, I'm assuming you also have my chosen theme lightdm-webkit-theme-litarvan installed as well."
read -r -p "Given the above would you like me to attempt (Very rudimentarily) to configure lightdm [y/N]" input
case $input in
[yY][eE][sS] | [yY])
echo "Okay, attempting to configure."
sudo sed -i 's/antergos/litarvan/' /etc/lightdm/lightdm-webkit2-greeter.conf
sudo sed -i 's/#greeter-lightdm-webkit-theme-litarvanession=example-gtk-gnome/greeter-session = lightdm-webkit2-greeter/' /etc/lightdm/lightdm.conf
sudo systemctl enable lightdm
sudo systemctl start lightdm
;;
[nN][oO] | [nN])
echo "Okay, not configuring."
echo "To configure this yourself you need to set greeter-session=lightdm-webkit2-greeter in /etc/lightdm/lightdm.conf and webkit_theme=litarvan in /etc/lightdm/lightdm-webkit2-greeter.conf."
;;
*)
echo "Invalid input... Not configuring."
;;
esac
fi
# notify about steam issue (multilib) # notify about steam issue (multilib)
echo "Unfortunately Steam cannot be installed as [multilib] must be enabled first. Instructions for how to do this can be found at: https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib" echo "
echo "Also it semes that freetube (ususally one of my misc programs, is not installing correctly so I have removed it." Unfortunately Steam cannot be installed as [multilib] must be enabled first. Instructions for how to do this can be found at: https://wiki.archlinux.org/index.php/Official_repositories#Enabling_multilib Also it semes that freetube (ususally one of my misc programs, is not installing correctly so I have removed it."
read -r -p "Press [ENTER] to continue.." read -r -p "Press [ENTER] to continue."
# notify user that there may be extra steps to finish install # notify user that there may be extra steps to finish install
echo "This script has installed all of my default programs however it may not have configured many things. My dotfiles may cover some of these but things such as gnome-keyring (using the pam method), as well as setting up nvidia and xorg may need some extra attention. There are likely more that I have forgotton as well." echo "
read -r -p "Press [ENTER] to complete.." This script has installed all of my default programs however it may not have configured many things. My dotfiles may cover some of these but things such as gnome-keyring (using the pam method), as well as setting up nvidia and xorg may need some extra attention. There are likely more that I have forgotton as well."
read -r -p "Press [ENTER] to complete."
echo "Please reboot the system."