summary refs log tree commit diff
path: root/home/.local/bin/notify-send
diff options
context:
space:
mode:
Diffstat (limited to 'home/.local/bin/notify-send')
-rwxr-xr-xhome/.local/bin/notify-send9
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..5630440d
--- /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 (item 1 of argv)
+	end if
+end run