1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -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 if [ $selection = "1" ]; then
clear clear
echo "Select options in Reflector Simple!" echo "Select the right mirrors in Reflector Simple!"
echo "If no mirrors were found select german servers." 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
goto "start" goto "start"
@ -68,8 +68,7 @@ elif [ $selection = "3" ]; then
goto "start" goto "start"
elif [ $selection = "4" ]; then elif [ $selection = "4" ]; then
clear clear
echo "Disabling CPU mitiations increases performance but can possibly lead to" echo "Disabling CPU mitiations increases performance but can possibly lead to security issues."
echo "security issues."
echo "Use it with caution! 🛑" echo "Use it with caution! 🛑"
sudo garuda-boot-options >/dev/null 2>&1 sudo garuda-boot-options >/dev/null 2>&1
goto "start" goto "start"
@ -87,27 +86,32 @@ elif [ $selection = "7" ]; then
: game-selection : game-selection
clear clear
echo "Which of these do you need?" echo "Which of these do you need?"
echo "1) WINE! (running Windoze apps)" echo ""
echo "2) Game launchers (Lutris, Steam, etc..)" echo "1) WINE! (running Windoze apps) 🍷"
echo "3) Utilities (Fancontrol, Mangohud, Gamemode, ..)" echo "2) Game launchers (Lutris, Steam, etc..) ♟"
echo "4) Controller support" echo "3) Utilities (Fancontrol, Mangohud, Gamemode, ..) 🔧"
echo "5) Go back" echo "4) Controller support 🎮"
echo "5) I dont care, just install everything! 🤪"
echo ""
echo "6) Go back"
read game read game
if [ $virt = "1" ]; then if [ $game = "1" ]; then
sudo pacman -S garuda-wine sudo pacman -S garuda-wine
goto "game-selection" 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 sudo pacman -S ialauncher-git steam steam-native-runtime lutris gamehub itch minigalaxy legendary
goto "game-selection" 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 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 & systemctl --user enable --now gamemoded 2>&1 &
setup_dxvk install 2>&1 & setup_dxvk install 2>&1 &
goto "game-selection" 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 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" goto "game-selection"
elif [ $virt = "5" ]; then elif [ $game = "5" ]; then
sudo pacman -S garuda-gamer
elif [ $game = "6" ]; then
goto "start" goto "start"
else echo "Thats not a valid choice! ❌" else echo "Thats not a valid choice! ❌"
goto "game-selection" goto "game-selection"
@ -125,7 +129,9 @@ elif [ $selection = "10" ]; then
: office-selection : office-selection
clear clear
echo "Which of these do you need?" echo "Which of these do you need?"
echo "1) Libreoffice" echo "Libreoffice is the recommended choice if you dont know any of these 🖨"
echo ""
echo "1) Libreoffice "
echo "2) Onlyoffice" echo "2) Onlyoffice"
echo "3) WPS Office" echo "3) WPS Office"
echo "4) Free Office" echo "4) Free Office"
@ -157,6 +163,7 @@ elif [ $selection = "12" ]; then
: virt-selection : virt-selection
clear clear
echo "Are you rather a fan of virtualbox or virt-manager?" echo "Are you rather a fan of virtualbox or virt-manager?"
echo ""
echo "1) Virtualbox all the way!" echo "1) Virtualbox all the way!"
echo "2) Id rather choose Virt-manager." echo "2) Id rather choose Virt-manager."
read virt read virt