summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatthew M. Boedicker <matthewm@boedicker.org>2015-03-25 21:37:06 -0700
committerMatthew M. Boedicker <matthewm@boedicker.org>2015-03-28 16:14:37 -0700
commitb13b61b77b6d58c8b541bc4628b998681e94875f (patch)
treeaa04b745a0c5d94751fd190c46d9593fd6adf14d /contrib
parent0005ea3873202ddefaae6466a932c159c08fd1c3 (diff)
downloadpianobar-b13b61b77b6d58c8b541bc4628b998681e94875f.tar.gz
pianobar-b13b61b77b6d58c8b541bc4628b998681e94875f.tar.bz2
pianobar-b13b61b77b6d58c8b541bc4628b998681e94875f.zip
Add OS X notification example to eventcmd.sh.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/eventcmd-examples/eventcmd.sh2
1 files changed, 2 insertions, 0 deletions
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...
# ;;