Skip to content

Instantly share code, notes, and snippets.

@sylviiu
Last active October 31, 2022 20:57
Show Gist options
  • Save sylviiu/c62c25b84edeaf93bf975d804c82b384 to your computer and use it in GitHub Desktop.
Save sylviiu/c62c25b84edeaf93bf975d804c82b384 to your computer and use it in GitHub Desktop.
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
@sylviiu
Copy link
Author

sylviiu commented Oct 31, 2022

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 location

Exec=/home/syl/steamvrprompt.sh %u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment