You can make an AppleScript thing and call it from bash. I think this is the sort of documentation I used at one point: https://developer.apple.com/library/archive/documentation/La...
AppleScript does work well for this. It might also be nice for somebody to write a little UNIX-y command-line app that just allows you to pop up a notification, and potentially get a response to it. Maybe I will...
Re:Growl in Retirement
by joshmanders on Sunday November 29, 2020 @11:13AM
(#25246002)
Re:Growl in Retirement
by sillysaurusx on Saturday November 28, 2020 @08:39PM
(#25242228)
Thanks!
Re:Growl in Retirement
by willfiveash on Sunday November 29, 2020 @12:59PM
(#25246727)
I'm using Pushover (https://pushover.net/) to send notifications to my Apple devices. To make use of it easier on command line I wrote a simple Python script which I've found to be very useful for things like allowing Transmission to send notifications when a download is finished or in scripts that do backup jobs which take a long time, letting me know when my Mac has booted, etc... Reply to this comment if you're interested in my script (note that the pushover site has good examples of how to call their API).
Re:Growl in Retirement
by mechanicum on Sunday November 29, 2020 @03:26AM
(#25243779)
terminal-notifier does this.
I’d just like to pop up a notification programmatically via a bash script. :)