From 21bb5f2ebb776be94aa9d77964a8791e9d3110c0 Mon Sep 17 00:00:00 2001 From: candifloss Date: Wed, 21 Aug 2024 02:32:06 +0530 Subject: [PATCH] daily commit --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}"); }