From 90dd1a03d2d23d911b2534eb59c4711e7848a7ca Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Tue, 22 Mar 2022 00:15:04 +0100 Subject: [PATCH] Set notification app name to `ncspot` In hopes of fixing #760 --- src/queue.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/queue.rs b/src/queue.rs index 978d676..b9b1bc7 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -423,11 +423,15 @@ pub fn send_notification(track_name: &str, _cover_url: Option) { } Notification::new() + .appname("ncspot") .summary(track_name) .icon(path.to_str().unwrap()) .show() } else { - Notification::new().summary(track_name).show() + Notification::new() + .appname("ncspot") + .summary(track_name) + .show() }; if let Err(e) = res {