From 65c181ec1d7b5a0497e53c874871d49e432ac3a0 Mon Sep 17 00:00:00 2001 From: Chris Rawnsley Date: Sun, 6 Nov 2016 10:43:47 +0000 Subject: [PATCH] Add notification wrapper script for MacOS --- contrib/notify-macos | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 contrib/notify-macos diff --git a/contrib/notify-macos b/contrib/notify-macos new file mode 100755 index 0000000..f424309 --- /dev/null +++ b/contrib/notify-macos @@ -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\""