From 19648d8b18d290fbbfc471b5984c8782c752f958 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 9 Aug 2018 23:53:46 -0400 Subject: Add notify-send mimic for macOS --- home/.local/bin/notify-send | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 home/.local/bin/notify-send (limited to 'home') diff --git a/home/.local/bin/notify-send b/home/.local/bin/notify-send new file mode 100755 index 00000000..afeb22cc --- /dev/null +++ b/home/.local/bin/notify-send @@ -0,0 +1,9 @@ +#!/usr/bin/osascript + +on run argv + if count of argv is 2 then + display notification (item 2 of argv) with title (item 1 of argv) + else + display notification "" with title (item 1 of argv) + end if +end run -- cgit 1.4.1