From eb7005f200e5e1ca8050221ba436e7a4fed059dd Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 28 Aug 2020 23:12:38 +0200 Subject: [PATCH] ncmpcpp: Fix desktop notifications Now they work even if they start with - (and are not interpteted as an option to notify-send). --- home/.config/ncmpcpp/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/ncmpcpp/config b/home/.config/ncmpcpp/config index 1d87eee..26b6efd 100644 --- a/home/.config/ncmpcpp/config +++ b/home/.config/ncmpcpp/config @@ -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)"