1
0
Fork 0
mirror of synced 2024-11-25 11:35:37 -05:00

Add boot options & polishing

This commit is contained in:
Nico Jensch 2020-10-06 15:42:47 +02:00
parent d308a8b627
commit 0d1b52d0dd

View file

@ -9,8 +9,8 @@ function goto
}
clear
echo "Welcome to the initial setup assistant!"
: start
echo "What do you want to do?"
echo ""
@ -18,8 +18,9 @@ echo "Lite & Ultimate:"
echo "1) Get initial mirrorlist & download list of packages"
echo "2) Update the system"
echo "3) Debloat the system"
echo "4) Enable Adblocking / HiDPI mode / Guest user"
echo "5) Disable Samba, printing & scanner support"
echo "4) Enable systemwide adblocking / HiDPI mode / guest user"
echo " also disable Samba / printing / scanner support"
echo "5) Disable CPU migitations / enable sysrq / set boot options"
echo ""
echo "Lite only:"
echo "6) Fix missing characters by installing full noto-fonts packages"
@ -35,6 +36,7 @@ read selection
if [ $selection = "1" ]; then
echo ""
echo "Select options in Reflector Simple!"
echo "If no mirrors were found select german servers."
reflector-simple >/dev/null 2>&1
sudo pacman -Syy
echo ""
@ -48,21 +50,22 @@ elif [ $selection = "2" ]; then
goto "start"
elif [ $selection = "3" ]; then
echo ""
echo "Follow the short tutorial!"
echo "Make sure to inspect that removed packages first"
echo "Follow the short tutorial."
echo "Make sure to inspect the removed packages first! 🛑"
firefox --new-window https://wiki.garudalinux.org/en/removing-bloat >/dev/null 2>&1 &
pamac-manager >/dev/null 2>&1
goto "start"
elif [ $selection = "4" ]; then
echo ""
echo "Find it in the settings tab."
echo "Find it in the settings tab. 🖥"
garuda-welcome >/dev/null 2>&1
echo ""
goto "start"
elif [ $selection = "5" ]; then
echo ""
echo "Find it in the settings tab."
garuda-welcome >/dev/null 2>&1
echo "Disabling CPU migitations increases performance but can possibly lead to security issues."
echo "Use it with caution! 🛑"
sudo garuda-boot-options >/dev/null 2>&1
echo ""
goto "start"
elif [ $selection = "6" ]; then
@ -86,7 +89,7 @@ elif [ $selection = "8" ]; then
sudo pacman -Syu --noconfirm gamemode lib32-gamemode lutris garuda-wine steam steam-native-runtime mangohud proton-tkg-git dxvk-mingw-git
systemctl --user enable --now gamemoded
echo ""
echo "All gaming should now be installed."
echo "All gaming should now be installed. 🕹"
goto "start"
elif [ $selection = "9" ]; then
echo ""
@ -97,6 +100,6 @@ elif [ $selection = "10" ]; then
rm -r ~/.config/autostart-scripts/setup-assistant.sh
echo "Script deleted."
exit
else echo "Thats not a valid choice!"
else echo "Thats not a valid choice!"
goto "start"
fi