-
-
Save AshCoolman/a45eecb579a6c2b65c21512570cf1908 to your computer and use it in GitHub Desktop.
OSX notifications for 'kk.'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
notify "kk." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
if length of argv = 1 then | |
display notification (item 1 of argv) with title "Notification" | |
else if length of argv > 1 then | |
display notification (item 1 of argv) with title (item 2 of argv) | |
else | |
return "<message> is required\nUsage: notify <message> [<title>]" | |
end if | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used for long running processes:
To install cp both to
/usr/local/bin