An open API service indexing awesome lists of open source software.

https://github.com/aguxez/notify_ex

Notification wrapper around notify-send written in Elixir.
https://github.com/aguxez/notify_ex

elixir notify-send

Last synced: 2 days ago
JSON representation

Notification wrapper around notify-send written in Elixir.

Awesome Lists containing this project

README

          

# Notify Notify

### Elixir wrapper for notify-send.

## Installation

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

```elixir
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`.

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