Ding (ding v0.0.1)

Ding handles desktop notifications on your local PC. Plays nice alongside:

  • Terminal Notifier
  • NotifySend
  • TmuxNotifier
  • TerminalTitle

Only OS X and Linux are enabled so far; seeking help on Windows notifications!

Source code originally appeared in the ex_unit_notifier package; this is a copy of only the general-purpose notification logic. Some modules and options are renamed.

Summary

Functions

Send a message

iex> Ding.send("Hello!", "Here is your message.")

Functions

Link to this function

send(head, message)

Send a message

iex> Ding.send("Hello!", "Here is your message.")

Options and appearance

Each handler only recognizes a portion of these options; some options are recognized by more than one handler.

iex> Ding.send("Hello!", "Here is your message.", %{ clear_history: true, color: color(status(counter)), icon_png: icon_png(status(counter)), icon_icns: icon_icns(status(counter)), })

Link to this function

send(head, message, opts)