123456789101112131415161718 |
- #!/bin/sh
- if [ "$1" = "-h" ]; then
- cat <<EOF>&2
- Usage: ${0##*/} [FILES]
- Without arguments, call clyrics on the currently playing track in Emms.
- EOF
- exit
- fi
- if [ $# -eq 0 ]; then
- clyrics $(emacsclient -e '(emms-track-description (emms-playlist-current-selected-track))')
- else
- clyrics "$@"
- fi
|