From b13b61b77b6d58c8b541bc4628b998681e94875f Mon Sep 17 00:00:00 2001 From: "Matthew M. Boedicker" Date: Wed, 25 Mar 2015 21:37:06 -0700 Subject: Add OS X notification example to eventcmd.sh. --- contrib/eventcmd-examples/eventcmd.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/eventcmd-examples/eventcmd.sh b/contrib/eventcmd-examples/eventcmd.sh index 2c0b159..7e2872a 100755 --- a/contrib/eventcmd-examples/eventcmd.sh +++ b/contrib/eventcmd-examples/eventcmd.sh @@ -19,6 +19,8 @@ case "$1" in # else # kdialog --title pianobar --passivepopup "'$title' by '$artist' on '$album'" 10 # fi +# # show an OS X notification +# osascript -e "display notification \"$album\" with title \"$title\" subtitle \"$artist\"" # # or whatever you like... # ;; -- cgit v1.2.3