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

Update setup-assistant

This commit is contained in:
Nico Jensch 2020-11-10 20:04:01 +01:00
parent 456d0b7562
commit 79447a99b6

View file

@ -52,8 +52,8 @@ read selection
if [ $selection = "1" ]; then
clear
echo "Select options in Reflector Simple!"
echo "If no mirrors were found select german servers."
echo "Select the right mirrors in Reflector Simple!"
echo "If no mirrors were found select german servers. ☝🏻"
reflector-simple >/dev/null 2>&1
sudo pacman -Syy
goto "start"
@ -68,8 +68,7 @@ elif [ $selection = "3" ]; then
goto "start"
elif [ $selection = "4" ]; then
clear
echo "Disabling CPU mitiations increases performance but can possibly lead to"
echo "security issues."
echo "Disabling CPU mitiations increases performance but can possibly lead to security issues."
echo "Use it with caution! 🛑"
sudo garuda-boot-options >/dev/null 2>&1
goto "start"
@ -87,27 +86,32 @@ elif [ $selection = "7" ]; then
: game-selection
clear
echo "Which of these do you need?"
echo "1) WINE! (running Windoze apps)"
echo "2) Game launchers (Lutris, Steam, etc..)"
echo "3) Utilities (Fancontrol, Mangohud, Gamemode, ..)"
echo "4) Controller support"
echo "5) Go back"
echo ""
echo "1) WINE! (running Windoze apps) 🍷"
echo "2) Game launchers (Lutris, Steam, etc..) ♟"
echo "3) Utilities (Fancontrol, Mangohud, Gamemode, ..) 🔧"
echo "4) Controller support 🎮"
echo "5) I dont care, just install everything! 🤪"
echo ""
echo "6) Go back"
read game
if [ $virt = "1" ]; then
if [ $game = "1" ]; then
sudo pacman -S garuda-wine
goto "game-selection"
elif [ $virt = "2" ]; then
elif [ $game = "2" ]; then
sudo pacman -S ialauncher-git steam steam-native-runtime lutris gamehub itch minigalaxy legendary
goto "game-selection"
elif [ $virt = "3" ]; then
elif [ $game = "3" ]; then
sudo pacman -S openrgb-git piper fancontrol-gui-git corectrl gwe goverlay-git mangohud lib32-mangohud gamemode lib32-gamemode dxvk-mingw-git vkbasalt proton-tkg-git libretro vulkan-tools mesa-demos lib32-mesa-demos libdvdcss libva-utils vdpauinfo
systemctl --user enable --now gamemoded 2>&1 &
setup_dxvk install 2>&1 &
goto "game-selection"
elif [ $virt = "4" ]; then
elif [ $game = "4" ]; then
sudo pacman -S antimicrox linuxconsole xboxdrv xpadneo-dkms-git steamos-xpad-dkms xow-git xbox-generic-controller game-devices-udev retroarch-autoconfig-udev-git
goto "game-selection"
elif [ $virt = "5" ]; then
elif [ $game = "5" ]; then
sudo pacman -S garuda-gamer
elif [ $game = "6" ]; then
goto "start"
else echo "Thats not a valid choice! ❌"
goto "game-selection"
@ -125,6 +129,8 @@ elif [ $selection = "10" ]; then
: office-selection
clear
echo "Which of these do you need?"
echo "Libreoffice is the recommended choice if you dont know any of these 🖨"
echo ""
echo "1) Libreoffice "
echo "2) Onlyoffice"
echo "3) WPS Office"
@ -157,6 +163,7 @@ elif [ $selection = "12" ]; then
: virt-selection
clear
echo "Are you rather a fan of virtualbox or virt-manager?"
echo ""
echo "1) Virtualbox all the way!"
echo "2) Id rather choose Virt-manager."
read virt