about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/scripts/source/wrappers/lyrics.sh
blob: 02a147c81419ff366b5a71c8f87198a328e84e57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env dash

# shellcheck source=/dev/null
SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH

(
    cd "$XDG_MUSIC_DIR" || die "No music dir!"
    exiftool "$(mpc --format '%file%' current)" -json | jq '.[0].Lyrics' -r | less
)

# vim: ft=sh