diff options
author | Matthew M. Boedicker <matthewm@boedicker.org> | 2015-03-25 21:37:06 -0700 |
---|---|---|
committer | Matthew M. Boedicker <matthewm@boedicker.org> | 2015-03-28 16:14:37 -0700 |
commit | b13b61b77b6d58c8b541bc4628b998681e94875f (patch) | |
tree | aa04b745a0c5d94751fd190c46d9593fd6adf14d | |
parent | 0005ea3873202ddefaae6466a932c159c08fd1c3 (diff) | |
download | pianobar-b13b61b77b6d58c8b541bc4628b998681e94875f.tar.gz pianobar-b13b61b77b6d58c8b541bc4628b998681e94875f.tar.bz2 pianobar-b13b61b77b6d58c8b541bc4628b998681e94875f.zip |
Add OS X notification example to eventcmd.sh.
-rwxr-xr-x | contrib/eventcmd-examples/eventcmd.sh | 2 |
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... # ;; |