Move setup assistant & related to /usr/bin
This commit is contained in:
parent
8dffa36c5d
commit
7d95bc15a7
3 changed files with 8 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
systemctl --user enable gamemoded &
|
systemctl --user enable gamemoded &
|
||||||
systemctl --user start gamemoded &
|
systemctl --user start gamemoded &
|
||||||
|
|
||||||
|
@ -14,12 +14,13 @@ systemctl --user start psd &
|
||||||
libinput-gestures-setup autostart &
|
libinput-gestures-setup autostart &
|
||||||
libinput-gestures-setup start &
|
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" &
|
rm -rf "${HOME}/.config/autostart-scripts/setup.sh" &
|
||||||
|
|
||||||
notify-send "Setup complete!"
|
notify-send "Setup complete!"
|
||||||
|
|
||||||
setup_dxvk install &
|
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
function goto
|
function goto
|
||||||
{
|
{
|
||||||
label=$1
|
label=$1
|
||||||
|
@ -28,7 +28,7 @@ echo "7) Enable Snap & Flatpak support"
|
||||||
echo "8) Install gaming dependencies, Lutris & Steam"
|
echo "8) Install gaming dependencies, Lutris & Steam"
|
||||||
echo "9) Upgrade to Ultimate (excluding desktop-specific apps)"
|
echo "9) Upgrade to Ultimate (excluding desktop-specific apps)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "10) Exit & delete this assistant"
|
echo "10) Exit"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
read selection
|
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
|
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
|
systemctl --user enable --now gamemoded
|
||||||
echo ""
|
echo ""
|
||||||
echo "All gaming should now be installed. 🕹"
|
echo "All gaming apps should now be installed. 🕹"
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $selection = "9" ]; then
|
elif [ $selection = "9" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
sudo sh ~/.config/autostart-scripts/upgrade-to-ultimate.sh
|
sudo upgrade2ultimate
|
||||||
echo ""
|
echo ""
|
||||||
goto "start"
|
goto "start"
|
||||||
elif [ $selection = "10" ]; then
|
elif [ $selection = "10" ]; then
|
||||||
rm -r ~/.config/autostart-scripts/setup-assistant.sh
|
|
||||||
echo "Script deleted."
|
|
||||||
exit
|
exit
|
||||||
else echo "Thats not a valid choice! ❌"
|
else echo "Thats not a valid choice! ❌"
|
||||||
goto "start"
|
goto "start"
|
Loading…
Reference in a new issue