First, make sure notify-send is installed. It should be easy to find in your linux distro's package repos. If you don't have linux, tough luck unfortunately.
[sudo] npm install hookio-notify-send [-g]
First, start this hook:
Then, start a repl hook:
Finally, emit some events:
> hook.emit("growl", "rawrrr") Name: the-hook growl Type: hook Data: rawrrr ... true
If you have notify-send installed ()
(The event is named 'growl' because a) it's a very similar program for osx and b) it's shorter.)
This will emit a message using notify-send. Pretty neat!