My scripts for startup, dmenu, and the command line
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
274 B

  1. #!/bin/sh
  2. action=$(printf "Play Music\nPause Music\nToggle Music\nSelect VPN\nDisable VPN\nRebind keys" |
  3. dmenu -i -p "Actions")
  4. case $action in
  5. 'Play Music') mpc play ;;
  6. 'Pause Music') mpc pause ;;
  7. 'Toggle Music') mpc toggle ;;
  8. 'Rebind keys') setup-xbindkeys;;
  9. esac