My scripts for startup, dmenu, and the command line
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

music_player 171 B

1234567891011121314
  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