Reference implementation of startup notification protocol
brew install startup-notification
startup-notification