ncmpcpp: Show notification on song change

home-manager
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
1 changed files with 3 additions and 0 deletions

View File

@ -18,3 +18,6 @@ seek_time = 5
# More modern UI
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"