Send DBus notifications, purely in rust, using dbus-rs.
```toml
[dependencies.notifysend] git = "https://github.com/hoodie/notifysend-rs.git" ```
```rust extern crate notifysend; use notifysend::Notification; fn main() { // use it this way Notification::new() .summary("this is the summary") .body("this is the body") .icon("firefox") .timeout(6000) //miliseconds .send();
//possible, but don't do this
Notification {
appname: "foobar".to_string(),
timeout: 20,
..Notification::new()
}.send();
}
```
checkout the spec