extern crate notify_send; use notify_send::Notification; fn main() { Notification::new() .summary("Chromium Crashed") .appname("chromium") .body(&format!("This is {}!
", "a lie")) .icon("chromium") .show(); Notification::new() .summary("Table Test - will probably not work") .body(&format!("
{}cell 2
cell 3cell 4
", "cell 1")) .icon("table") .show(); Notification::new() .summary("Paragraphs") .body("This should be a paragraph, this is why I wrote more than one line worth of text, only to make it linebreak. This should be another paragraph.") .icon("thunderbird") .show(); }