/notify_ex

Notification wrapper around notify-send written in Elixir.

Primary LanguageElixirMIT LicenseMIT

Notify Notify

Elixir wrapper for notify-send.

Installation

Install notify_ex by adding it to your list of dependencies in mix.exs:

def deps do
  [{:notify_ex, "~> 0.2.0"}]
end

Usage

name and message are first and second parameters, then you can pass a list of options as: :urgency, :time, :icon.

iex> Notify.send("Notify", "Testing Notify", urgency: "low")
iex> Notify.send("Notify", "Another notify test", time: 4000, icon: "PATH-TO-ICON")