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