1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -05:00

Move setup assistant & related to /usr/bin

This commit is contained in:
Nico Jensch 2020-10-27 12:27:01 +01:00
parent 8dffa36c5d
commit 7d95bc15a7
3 changed files with 8 additions and 9 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
systemctl --user enable gamemoded &
systemctl --user start gamemoded &
@ -14,12 +14,13 @@ systemctl --user start psd &
libinput-gestures-setup autostart &
libinput-gestures-setup start &
setup_dxvk install &
alacritty -e "${HOME}/.config/autostart-scripts/setup-assistant.sh"
alacritty -e "setup-assistant"
rm -rf "${HOME}/.config/autostart-scripts/setup.sh" &
notify-send "Setup complete!"
setup_dxvk install &
exit

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash
function goto
{
label=$1
@ -28,7 +28,7 @@ echo "7) Enable Snap & Flatpak support"
echo "8) Install gaming dependencies, Lutris & Steam"
echo "9) Upgrade to Ultimate (excluding desktop-specific apps)"
echo ""
echo "10) Exit & delete this assistant"
echo "10) Exit"
echo ""
read selection
@ -87,16 +87,14 @@ elif [ $selection = "8" ]; then
sudo pacman -Syu --noconfirm gamemode lib32-gamemode lutris garuda-wine steam steam-native-runtime mangohud lib32-mangohud proton-tkg-git dxvk-mingw-git
systemctl --user enable --now gamemoded
echo ""
echo "All gaming should now be installed. 🕹"
echo "All gaming apps should now be installed. 🕹"
goto "start"
elif [ $selection = "9" ]; then
echo ""
sudo sh ~/.config/autostart-scripts/upgrade-to-ultimate.sh
sudo upgrade2ultimate
echo ""
goto "start"
elif [ $selection = "10" ]; then
rm -r ~/.config/autostart-scripts/setup-assistant.sh
echo "Script deleted."
exit
else echo "Thats not a valid choice! ❌"
goto "start"