From 20e071f0afab4a46d972a19fc27648e51743aaaf Mon Sep 17 00:00:00 2001 From: Test User Date: Tue, 21 Jul 2026 02:20:29 +0200 Subject: [PATCH] Pin the desktop notification app-name to crabidy notify-rust defaults the app-name to the executable file name (cbd-tui), so notification-daemon rules keyed on app-name break whenever the binary is renamed or wrapped. Set it explicitly. Co-Authored-By: Claude Fable 5 --- cbd-tui/src/app/now_playing.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cbd-tui/src/app/now_playing.rs b/cbd-tui/src/app/now_playing.rs index e5ec91b..760089f 100644 --- a/cbd-tui/src/app/now_playing.rs +++ b/cbd-tui/src/app/now_playing.rs @@ -57,7 +57,11 @@ impl NowPlaying { format!("{} by {}", track.title, track.artist,) }; // A missing notification daemon must not crash the TUI. + // The explicit appname keeps notification-daemon rules + // (e.g. mako `app-name=` criteria) stable even if the + // binary is renamed or wrapped. if let Err(err) = Notification::new() + .appname("crabidy") .summary("Now playing") .body(&body) .show()