My scripts for startup, dmenu, and the command line
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12 行
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