diff --git a/src/main.rs b/src/main.rs index c529916..a4118fc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ use std::collections::HashMap; use std::fmt; +use zbus_notification::NotifyUnit; // Structure of a notification struct Notif { @@ -68,8 +69,10 @@ fn main() { .insert("urgency".to_string(), "critical".to_string()); not.hints .insert("category".to_string(), "network.error".to_string()); - + // End of eg. notif truncate_summary(&mut not); //Limit the summary length + + println!("{not}"); }