Skip to content

Instantly share code, notes, and snippets.

View sylviiu's full-sized avatar
💤

Syl sylviiu

💤
View GitHub Profile
@sylviiu
sylviiu / updatepterodactyl.sh
Created December 30, 2023 02:18
AUR pterodactyl-panel updater
cd /usr/share/webapps/pterodactyl/
echo "Changed directory to $(pwd)"
php artisan down
echo "Shut down artisan."
echo "Sleeping for 3 seconds..."
sleep 3
@sylviiu
sylviiu / steamvrprompt.sh
Last active October 31, 2022 20:57
Roblox on linux lauch switch (SteamVR / Grapejuice) (requires zenity)
#!/bin/bash
choice=$(zenity --info --icon-name=grapejuice-roblox-player --title="Launching Roblox" --text="Use SteamVR or Grapejuice?" --switch --extra-button SteamVR --extra-button Grapejuice --ok-label "Cancel")
if [ $choice = "SteamVR" ]; then
zenity --info --icon-name=grapejuice-roblox-player --title="Roblox Launch Parameters" --text=$1
elif [ $choice = "Grapejuice" ]; then
grapejuice player $1
fi