catgirl/scripts/notify-send.scpt

10 lines
192 B
Plaintext
Raw Normal View History

2020-02-13 01:12:34 +00:00
#!/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