From 0173319add60dba5efea0260006d962eadd70602 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 5 Sep 2017 19:09:31 +0200 Subject: [PATCH] shell/+mpd: fix literal \n in notification --- shell/+mpd/bin/notify-song.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/+mpd/bin/notify-song.sh b/shell/+mpd/bin/notify-song.sh index 0d0328aa..2e267039 100755 --- a/shell/+mpd/bin/notify-song.sh +++ b/shell/+mpd/bin/notify-song.sh @@ -55,7 +55,7 @@ case $OSTYPE in terminal-notifier -title "$rating$title" -message "by $artist :: $album" -appIcon "/Applications/iTunes.app/Contents/Resources/iTunes.icns" & ;; linux*) - [[ $rating ]] && rating="$rating\n" + [[ $rating ]] && rating="$rating
" notify-send --icon="media-playback-start" --app-name="ncmpcpp" "$rating$title" "${artist}\n${album}" & ;; esac >/dev/null 2>&1