From 3459d8d8845332b3f2e5bb1782e9b4f5ee8b979c Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 11 Dec 2018 16:33:39 -0500 Subject: [PATCH] tweaks --- larbs.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/larbs.sh b/larbs.sh index 142912a..0bb6684 100755 --- a/larbs.sh +++ b/larbs.sh @@ -30,7 +30,7 @@ esac done ### FUNCTIONS ### ### -initialcheck() { pacman -Syyu --noconfirm --needed dialog || { echo "Are you sure you're running this as the root user? Are you sure you're using an Arch-based distro? ;-) Are you sure you have an internet connection?"; exit; } ;} +initialcheck() { pacman -Syyu --noconfirm --needed dialog || { echo "Are you sure you're running this as the root user? Are you sure you're using an Arch-based distro? ;-) Are you sure you have an internet connection? Are you sure your Arch keyring is updated?"; exit; } ;} preinstallmsg() { \ dialog --title "Let's get this party started!" --yes-label "Let's go!" --no-label "No, nevermind!" --yesno "The rest of the installation will now be totally automated, so you can sit back and relax.\\n\\nIt will take some time, but when done, you can relax even more with your complete system.\\n\\nNow just press and the system will begin installation!" 13 60 || { clear; exit; } @@ -148,7 +148,7 @@ manualinstall() { # Installs $1 manually if not installed. Used only for AUR hel finalize(){ \ dialog --infobox "Preparing welcome message..." 4 50 echo "exec_always --no-startup-id notify-send -i ~/.scripts/pix/larbs.png 'Welcome to LARBS: Press Super+F1 for the manual.' -t 10000" >> "/home/$name/.config/i3/config" - dialog --title "All done!" --msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\\n\\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment.\\n\\n-Luke" 12 80 + dialog --title "All done!" --msgbox "Congrats! Provided there were no hidden errors, the script completed successfully and all the programs and configuration files should be in place.\\n\\nTo run the new graphical environment, log out and log back in as your new user, then run the command \"startx\" to start the graphical environment (it will start automatically in tty1).\\n\\n.t Luke" 12 80 } ### @@ -200,10 +200,6 @@ putgitrepo "$dotfilesrepo" "/home/$name" # Install the LARBS Firefox profile in ~/.mozilla/firefox/ putgitrepo "https://github.com/LukeSmithxyz/mozillarbs.git" "/home/$name/.mozilla/firefox" -# Installation of the post-install wizard -#putgitrepo "https://github.com/LukeSmithxyz/arch-postinstall-wizard" "/home/$name/larbs-wizard" -#ln -T /home/$name/.larbs-wizard/wizard.sh postinstall-wizard.sh - # Pulseaudio, if/when initially installed, often needs a restart to work immediately. [[ -f /usr/bin/pulseaudio ]] && resetpulse