feat: make notification urgency critical

man-page
Moritz Böhme 2023-08-16 17:11:13 +02:00
parent 8912151bdc
commit 37dc5c727a
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 1 deletions

View File

@ -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."),
};