summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-09 23:53:46 -0400
committerJune McEnroe <june@causal.agency>2018-08-09 23:53:46 -0400
commit91a805cec2acad1be3b4608910058000f9a612d9 (patch)
tree83931aa78d58c94d24f7feefa2f51ae6ba228ad0 /home
parentIgnore .o files in vim (diff)
downloadsrc-91a805cec2acad1be3b4608910058000f9a612d9.tar.gz
src-91a805cec2acad1be3b4608910058000f9a612d9.zip
Add notify-send mimic for macOS
Diffstat (limited to 'home')
-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..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
89ff74d02fd854f8de93fe225e6670644d50&follow=1'>Add photos from September 28June McEnroe 2024-10-07Add photos from September 22June McEnroe 2024-09-25Add photos from September 15June McEnroe 2024-09-24Add photos from September 14June McEnroe 2024-09-24Add photos from September 12June McEnroe 2024-09-24Add photos from September 7June McEnroe 2024-09-24Allow not having descriptionsJune McEnroe 2024-09-23Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe