Open tomspeak opened 6 years ago
I myself was somewhat confounded by this. As Growl's "retirement" was announced recently, maybe it's time to just use osascript
to send a native notification with AppleScript:
$ osascript -e 'display notification "The command finished" with title "Success"'
I'm willing to do the PR for that, but it would be good if somebody (@tomspeak?) would be willing to test the patch on a fancy new version of macOS, as I can only test as far back as Mavericks and as far forward as Mojave. I assume the API as it were is pretty stable, since Notification Center was announced almost a decade ago, but who ever knows.
hat tip: https://dev.to/bphogan/how-to-use-macos-notifications-with-your-command-line-programs-ma4
MacOS: 10.14
I am trying to get Growl to work. I have installed Growl from the App Store, and installed the command line utility growlnotify, and verified it works.
When running
modd -n
— I never seem to be able to trigger a notification.My modd file is as follows:
This works as intended, but lacks notifications — any ideas?