feat: make notification urgency critical
This commit is contained in:
parent
8912151bdc
commit
37dc5c727a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pub fn run_path() -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn send_notifictation(msg: &str) {
|
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."),
|
Ok(_) => println!("Sent notification sucessfully."),
|
||||||
Err(_) => println!("Failed to send notification."),
|
Err(_) => println!("Failed to send notification."),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue