tweaks
This commit is contained in:
parent
7854f16b00
commit
3459d8d884
8
larbs.sh
8
larbs.sh
@ -30,7 +30,7 @@ esac done
|
|||||||
### FUNCTIONS ###
|
### 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() { \
|
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 <Let's go!> and the system will begin installation!" 13 60 || { clear; exit; }
|
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 <Let's go!> 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(){ \
|
finalize(){ \
|
||||||
dialog --infobox "Preparing welcome message..." 4 50
|
dialog --infobox "Preparing welcome message..." 4 50
|
||||||
echo "exec_always --no-startup-id notify-send -i ~/.scripts/pix/larbs.png '<b>Welcome to LARBS:</b> Press Super+F1 for the manual.' -t 10000" >> "/home/$name/.config/i3/config"
|
echo "exec_always --no-startup-id notify-send -i ~/.scripts/pix/larbs.png '<b>Welcome to LARBS:</b> 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/
|
# Install the LARBS Firefox profile in ~/.mozilla/firefox/
|
||||||
putgitrepo "https://github.com/LukeSmithxyz/mozillarbs.git" "/home/$name/.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.
|
# Pulseaudio, if/when initially installed, often needs a restart to work immediately.
|
||||||
[[ -f /usr/bin/pulseaudio ]] && resetpulse
|
[[ -f /usr/bin/pulseaudio ]] && resetpulse
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user