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

15 行
171 B

  1. #!/bin/sh
  2. for f in "$@"; do
  3. # mpc insert $HOME/music/$f
  4. mpc insert "$(realpath "$f")"
  5. done
  6. if [ -z $(mpc current) ]; then
  7. mpc play
  8. else
  9. mpc next
  10. fi
  11. # mpc single on