shell/mpd/bin/notify-song.sh: use :: instead of newline for osx notification

This commit is contained in:
Henrik Lissner 2017-01-06 01:32:17 -05:00
parent a8f5fbff14
commit 8369bbe9a2

View file

@ -17,7 +17,7 @@ title=$(awk -F';' '{ print $4 }' <<<"$info")
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
terminal-notifier -title "$title" -message "by $artist\n$album" -appIcon "/Applications/iTunes.app/Contents/Resources/iTunes.icns" terminal-notifier -title "$title" -message "by $artist :: $album" -appIcon "/Applications/iTunes.app/Contents/Resources/iTunes.icns"
;; ;;
linux*) linux*)
notify-send --icon="media-playback-start" --app-name="ncmpcpp" "$title" "$artist\n<i>$album</i>" notify-send --icon="media-playback-start" --app-name="ncmpcpp" "$title" "$artist\n<i>$album</i>"