diff options
author | June McEnroe <june@causal.agency> | 2018-08-09 23:53:46 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-09 23:53:46 -0400 |
commit | 91a805cec2acad1be3b4608910058000f9a612d9 (patch) | |
tree | 83931aa78d58c94d24f7feefa2f51ae6ba228ad0 /home | |
parent | Ignore .o files in vim (diff) | |
download | src-91a805cec2acad1be3b4608910058000f9a612d9.tar.gz src-91a805cec2acad1be3b4608910058000f9a612d9.zip |
Add notify-send mimic for macOS
Diffstat (limited to '')
-rwxr-xr-x | home/.local/bin/notify-send | 9 |
1 files changed, 9 insertions, 0 deletions
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 |