4 ms·
Mildly related, is there a stable version of `notify-send` for mac? I use this for the moment but it seems janky. ``` function growl() { echo $"\e]9;\"$1\"\
by BWStearns 3y ago
Mildly related, is there a stable version of `notify-send` for mac? I use this for the moment but it seems janky.
```
function growl() {
echo $"\e]9;\"$1\"\007"
}
```
- dgl 3y agoThis iTerm2 specific escape sequence[1] has the benefit it works over SSH. You can however use "osascript" to generate the notification directly, see https://apple.stackexchange.com/questions/57412/how-can-i-trigger-a-notification-center-notification-from-an-applescript-or-shel https://apple.stackexchange.com/questions/57412/how-can-i-tr... [1]: https://iterm2.com/documentation-escape-codes.html https://iterm2.com/documentation-escape-codes.html
- deleted 3y ago[deleted]
- fragmede 3y agohow's: function growl() { osascript -e "display notification \"$1\" with title \"Growl\" " }