ncmpcpp: Show notification on song change
This commit is contained in:
parent
8d03abb021
commit
f580989248
|
@ -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"
|
||||||
|
|
Reference in a new issue