Advertisement
Guest User

Higan

a guest
Sep 20th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # Shared folders workaround
  4. cp -ru /usr/share/higan ~/.config/
  5.  
  6. # Check for profiles and prompt user with a GUI
  7. [ -e /usr/bin/higan-accuracy ] && tag1=accuracy
  8. [ -e /usr/bin/higan-balanced ] && tag2=balanced
  9. [ -e /usr/bin/higan-performance ] && tag3=performance
  10. profile="$(Xdialog --stdout --no-tags --title "higan" --radiolist "Choose a profile" 0 0 0 "$tag1" "Accuracy" off "$tag2" "Balanced" off "$tag3" "Performance" off)"
  11.  
  12. # Launch selected profile
  13. exec higan-$profile "$@"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement