From e372294911bf64e4d5f687200085a7ce136828bd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 28 Feb 2017 19:04:10 -0500 Subject: [PATCH] shell/mpd/bin/notify-song.sh: don't block --- shell/mpd/bin/notify-song.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/mpd/bin/notify-song.sh b/shell/mpd/bin/notify-song.sh index eb2ffde7..c45a1dc0 100755 --- a/shell/mpd/bin/notify-song.sh +++ b/shell/mpd/bin/notify-song.sh @@ -53,12 +53,12 @@ case $OSTYPE in darwin*) [[ $rating ]] && rating="[$rating] " killall terminal-notifier - terminal-notifier -title "$rating$title" -message "by $artist :: $album" -appIcon "/Applications/iTunes.app/Contents/Resources/iTunes.icns" + terminal-notifier -title "$rating$title" -message "by $artist :: $album" -appIcon "/Applications/iTunes.app/Contents/Resources/iTunes.icns" & ;; linux*) [[ $rating ]] && rating="$rating\n" - notify-send --icon="media-playback-start" --app-name="ncmpcpp" "$rating$title" "${artist}\n${album}" + notify-send --icon="media-playback-start" --app-name="ncmpcpp" "$rating$title" "${artist}\n${album}" & ;; -esac >/dev/null 2>&1 & +esac >/dev/null 2>&1 -exit 0 +exit