beeep
beeep copied to clipboard
Use terminal-notifier or alerter when available
The above tools yield much nicer notifications/alerts in my opinion and as far as I can tell, they also allow using non-bundled icons:
- https://github.com/julienXX/terminal-notifier
- https://github.com/vjeantet/alerter
What are the chances that the user will have that installed? The first app seems to be packaged as a bundle, so I guess it will not be in PATH. It can be added if these are popular apps that users can install easily, but I will not be able to test it for some time until I fix my VM.
I think these are the most popular alternatives to notify-send on macOS. Using them might need some sort of configuration (or an alias or a wrapper shell script).
@gen2brain They don't necessarily need to be installed on the user's machine, for instance gosxnotifier embeds the binary for terminal-notifier.
@brandonwkipp As discussed in some other issues, I don't like that approach, it embeds the foreign app/binary in source code. If it is installed it will be used, otherwise, it will just fall back to osascript.