ncmpcpp: Show non-jpeg covers in notification

This commit is contained in:
Simon Bruder 2020-08-28 23:31:42 +02:00
parent eb7005f200
commit b9323f58f5
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -20,4 +20,4 @@ seek_time = 5
user_interface = alternative
# Desktop notification on song change
execute_on_song_change = notify-send -t 5000 -i "$(dirname $HOME/Music/"$(mpc --format %file% current)")/cover.jpg" "Now Playing" -- "$(mpc --format '%title% \n%artist% %album%' current)"
execute_on_song_change = notify-send -t 5000 -i "$(dirname $HOME/Music/"$(mpc --format %file% current)")/cover."* "Now Playing" -- "$(mpc --format '%title% \n%artist% %album%' current)"