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.
- Host: GitHub
- URL: https://github.com/aguxez/notify_ex
- Owner: aguxez
- License: mit
- Created: 2017-05-08T01:53:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T18:50:26.000Z (about 8 years ago)
- Last Synced: 2025-04-30T18:18:28.344Z (about 1 year ago)
- Topics: elixir, notify-send
- Language: Elixir
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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")
```