feat: make notification urgency critical
parent
8912151bdc
commit
37dc5c727a
|
@ -9,7 +9,7 @@ pub fn run_path() -> String {
|
|||
}
|
||||
|
||||
pub fn send_notifictation(msg: &str) {
|
||||
match Notification::new().summary(" Timers").body(msg).show() {
|
||||
match Notification::new().summary(" Timers").body(msg).urgency(notify_rust::Urgency::Critical).show() {
|
||||
Ok(_) => println!("Sent notification sucessfully."),
|
||||
Err(_) => println!("Failed to send notification."),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue