notify-rust

Build Status license version

Shows desktop notifications. This implementation does not rely on libnotify, as it is using dbus-rs. Basic notification features are supported, more sophisticated functionality will follow. The API shown below should be stable.

```toml

Cargo.toml

[dependencies] notify-rust = "*" # see batch for current version ```

Usage & Documentation

Please see the documentation for current examples.

Commandline tool

Checkout ./notify-cli, it exposes most of the functionality of the lib to the commandline.

``` $ ./target/debug/notify send --help notify-send Shows a notification

USAGE: notify send [FLAGS] [OPTIONS] [ARGS]

FLAGS: -d, --debug Also prints notification to stdout -h, --help Prints help information -V, --version Prints version information

OPTIONS: -a, --app-name Set a specific app-name manually. -c, --category Set a category. -t, --expire-time Time until expiration in milliseconds. 0 means forever. -i, --icon Icon of notification. -u, --urgency How urgent is it. [values: high low normal]

ARGS: summary Title of the Notification. body Message body

```