I'm trying to write a plugin for emacs that displays a notification using OS X's native notification display.
I've run into terminal-notifier
which works, but it's a dependency that doesn't work on every mac. Plus the user should be made aware that they need to install the package.
What I want to do is call a process osascript -e
and make it display the notification. The problem is, the only way to change its icon is from an external bundle. Is there any way to make osascript -e
display what I want.
starting sudo osascript
seems to do that, but it seems to be bad design and I also need to find a way to pass the root password every single time.