Add notification wrapper script for MacOS

This commit is contained in:
Chris Rawnsley 2016-11-06 10:43:47 +00:00
parent 4b71980933
commit 65c181ec1d

6
contrib/notify-macos Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# A notification wrapper for MacOS. It will appear in Notification
# Center as owned by Script Editor.
#
# usage: spt -n ./notify-macos
osascript -e "display notification \"$2\" with title \"$1\""