| 1 | use notify_rust::Notification; |
| 2 | mod common; |
| 3 | |
| 4 | fn main() -> Result<(), Box<dyn std::error::Error>> { |
| 5 | common::setup(file!()); |
| 6 | |
| 7 | Notification::new() |
| 8 | .summary("Critical Error") |
| 9 | .body("Just <b>kidding</b>, this is just the notificationexample.") |
| 10 | .icon("dialog-error") |
| 11 | .show()?; |
| 12 | Ok(()) |
| 13 | } |