ncmpcpp: Show notification on song change

This commit is contained in:
Simon Bruder 2020-08-26 10:29:01 +02:00
parent 8d03abb021
commit f580989248
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

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