Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 998 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 998 Bytes

Slack Room

terminal_notifier

Send OS X desktop notifications from Fish using terminal-notifier.

Install

With fisherman

fisher fishgretel/terminal_notifier

Usage

While __send_notification can be called as a function it is recommended to emit events:

emit send_notification 'Hey, you!' '🌊 🌊 🌊' 'Take a break and go surfing!'

Of course, values can be evaluated at emission:

emit send_notification 'Remember to get out!' '⏲ ⏲ ⏲ ⏲ ⏲' (date)

By default, the Submarine sound will be used. To change that add an argument at position 4:

emit send_notification 'Very Important' 'Code fish not eat!' 'Thank you!' Glass