Rework gaming setup assistant
This commit is contained in:
parent
79447a99b6
commit
efce35d84f
1 changed files with 16 additions and 42 deletions
|
@ -83,47 +83,21 @@ elif [ $selection = "6" ]; then
|
||||||
sudo systemctl enable --now snapd
|
sudo systemctl enable --now snapd
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $selection = "7" ]; then
|
elif [ $selection = "7" ]; then
|
||||||
: game-selection
|
: gaming
|
||||||
clear
|
if pacman -Qs garuda-gamer > /dev/null ; then
|
||||||
echo "Which of these do you need?"
|
echo "Now you can choose which components you need using the Garuda Gamer app. 🎮"
|
||||||
echo ""
|
garuda-gamer >/dev/null 2>&1
|
||||||
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 [ $game = "1" ]; then
|
|
||||||
sudo pacman -S garuda-wine
|
|
||||||
goto "game-selection"
|
|
||||||
elif [ $game = "2" ]; then
|
|
||||||
sudo pacman -S ialauncher-git steam steam-native-runtime lutris gamehub itch minigalaxy legendary
|
|
||||||
goto "game-selection"
|
|
||||||
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 [ $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 [ $game = "5" ]; then
|
|
||||||
sudo pacman -S garuda-gamer
|
|
||||||
elif [ $game = "6" ]; then
|
|
||||||
goto "start"
|
goto "start"
|
||||||
else echo "Thats not a valid choice! ❌"
|
else sudo pacman -Syu garuda-gamer
|
||||||
goto "game-selection"
|
goto "gaming"
|
||||||
fi
|
fi
|
||||||
goto "start"
|
|
||||||
elif [ $selection = "8" ]; then
|
elif [ $selection = "8" ]; then
|
||||||
clear
|
clear
|
||||||
sudo pacman -S --noconfirm --needed garuda-alsa garuda-pulse garuda-pipewire pulseaudio-ctl playerctl
|
sudo pacman -Syu --noconfirm --needed garuda-alsa garuda-pulse garuda-pipewire pulseaudio-ctl playerctl
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $selection = "9" ]; then
|
elif [ $selection = "9" ]; then
|
||||||
clear
|
clear
|
||||||
sudo pacman -S --noconfirm --needed garuda-settings-samba system-config-samba garuda-printer garuda-scanner
|
sudo pacman -Syu --noconfirm --needed garuda-settings-samba system-config-samba garuda-printer garuda-scanner
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $selection = "10" ]; then
|
elif [ $selection = "10" ]; then
|
||||||
: office-selection
|
: office-selection
|
||||||
|
@ -138,26 +112,26 @@ elif [ $selection = "10" ]; then
|
||||||
echo "5) Yozo Office"
|
echo "5) Yozo Office"
|
||||||
read office
|
read office
|
||||||
if [ $office = "1" ]; then
|
if [ $office = "1" ]; then
|
||||||
sudo pacman -S libreoffice-fresh libmythes
|
sudo pacman -Syu libreoffice-fresh libmythes
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $office = "2" ]; then
|
elif [ $office = "2" ]; then
|
||||||
sudo pacman -S onlyoffice-bin
|
sudo pacman -Syu onlyoffice-bin
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $office = "3" ]; then
|
elif [ $office = "3" ]; then
|
||||||
sudo pacman -S wps-office wps-office-mime ttf-wps-fonts
|
sudo pacman -Syu wps-office wps-office-mime ttf-wps-fonts
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $office = "4" ]; then
|
elif [ $office = "4" ]; then
|
||||||
sudo pacman -S freeoffice
|
sudo pacman -Syu freeoffice
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $office = "5" ]; then
|
elif [ $office = "5" ]; then
|
||||||
sudo pacman -S yozo-office yozo-office-fonts
|
sudo pacman -Syu yozo-office yozo-office-fonts
|
||||||
goto "start"
|
goto "start"
|
||||||
else echo "Thats not a valid choice! ❌"
|
else echo "Thats not a valid choice! ❌"
|
||||||
goto "office-selection"
|
goto "office-selection"
|
||||||
fi
|
fi
|
||||||
elif [ $selection = "11" ]; then
|
elif [ $selection = "11" ]; then
|
||||||
clear
|
clear
|
||||||
sudo pacman -S --noconfirm --needed telegram-desktop joplin murmur mumble discord streamlink-twitch-gui syncthing-gtk nextcloud-client firefox-extension-bitwarden fractal firefox-extension-xdm-browser-monitor
|
sudo pacman -Syu --noconfirm --needed telegram-desktop joplin murmur mumble discord streamlink-twitch-gui syncthing-gtk nextcloud-client firefox-extension-bitwarden fractal firefox-extension-xdm-browser-monitor
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $selection = "12" ]; then
|
elif [ $selection = "12" ]; then
|
||||||
: virt-selection
|
: virt-selection
|
||||||
|
@ -168,10 +142,10 @@ elif [ $selection = "12" ]; then
|
||||||
echo "2) Id rather choose Virt-manager."
|
echo "2) Id rather choose Virt-manager."
|
||||||
read virt
|
read virt
|
||||||
if [ $virt = "1" ]; then
|
if [ $virt = "1" ]; then
|
||||||
sudo pacman -S garuda-virtualbox
|
sudo pacman -Syu garuda-virtualbox
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $virt = "2" ]; then
|
elif [ $virt = "2" ]; then
|
||||||
sudo pacman -S garuda-virt-manager
|
sudo pacman -Syu garuda-virt-manager
|
||||||
goto "start"
|
goto "start"
|
||||||
else echo "Thats not a valid choice! ❌"
|
else echo "Thats not a valid choice! ❌"
|
||||||
goto "virt-selection"
|
goto "virt-selection"
|
||||||
|
|
Loading…
Reference in a new issue