My scripts for startup, dmenu, and the command line
25개 이상의 토픽을 선택하실 수 없습니다. 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