From ccefc805cb1819a8353cd10f45abeae970d042b1 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 29 Aug 2021 20:57:25 +0930 Subject: [PATCH] minor changes --- configure-system | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/configure-system b/configure-system index 2a71b7b..d304242 100755 --- a/configure-system +++ b/configure-system @@ -32,11 +32,36 @@ if command -v fish &> /dev/null; then esac 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) -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 "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.." +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 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." # 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." -read -r -p "Press [ENTER] to complete.." +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." +read -r -p "Press [ENTER] to complete." + +echo "Please reboot the system." \ No newline at end of file