Last active
October 31, 2022 20:57
-
-
Save sylviiu/c62c25b84edeaf93bf975d804c82b384 to your computer and use it in GitHub Desktop.
Roblox on linux lauch switch (SteamVR / Grapejuice) (requires zenity)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make sure to install zenity to make this work, and to replace the
Exec
line in your roblox-player.desktop file with this script's locationExec=/home/syl/steamvrprompt.sh %u