From ed924397cca81490979e674aaeadc22e829e8c01 Mon Sep 17 00:00:00 2001 From: Kajus Naujokaitis Date: Wed, 27 May 2026 10:29:56 +0300 Subject: [PATCH] fix(nixos): use correct process name Signed-off-by: Kajus Naujokaitis --- src/page/layout.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/page/layout.rs b/src/page/layout.rs index fe9a193..f726862 100644 --- a/src/page/layout.rs +++ b/src/page/layout.rs @@ -280,11 +280,7 @@ fn apply_layout(path: &Path) { } } - #[cfg(not(feature = "nixos"))] - let panel_process = "cosmic-panel"; - #[cfg(feature = "nixos")] - let panel_process = ".cosmic-panel-wrapped"; _ = std::process::Command::new("killall") - .arg(panel_process) + .arg("cosmic-panel") .status(); }