ncmpcpp: Fix desktop notifications
Now they work even if they start with - (and are not interpteted as an option to notify-send).
This commit is contained in:
parent
5ca0c1147f
commit
eb7005f200
|
@ -20,4 +20,4 @@ seek_time = 5
|
|||
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"
|
||||
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)"
|
||||
|
|
Reference in a new issue