From affa57863899f1b8afb7e656c76de4a801e0e8e4 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Mon, 27 Apr 2026 15:12:45 +0530 Subject: fix: firefox color and overall color change overhaul --- src/main.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 48f2b72..6972b83 100644 --- a/src/main.rs +++ b/src/main.rs @@ -135,18 +135,18 @@ fn output_status(workspaces: &[Workspace], windows: &[Window]) { let ws_output = if win_count == 0 { // Empty but focused - just show a dot, no name // "ยท".to_string() - format!("{} .", ws.idx) + format!("{} .", ws.idx) } else { let mut output = String::new(); // Always show the workspace number on the left if ws.is_focused { - output.push_str(&format!("{} ", ws.idx)); + output.push_str(&format!("{} ", ws.idx)); } // Show workspace name only when focused if has_custom_name && ws.is_focused { - output.push_str(&format!("{} ", ws_name)); + output.push_str(&format!("{} ", ws_name)); } for win in &ws_windows { @@ -160,7 +160,7 @@ fn output_status(workspaces: &[Workspace], windows: &[Window]) { } let mut bar = if win.is_focused { - "โ–ˆ" + "โ–ˆ" } else if !ws.is_focused && ws.active_window_id == Some(win.id) { "โ–Œ" } else { @@ -325,6 +325,9 @@ fn get_color( if app_id == "zen" { return "#ff7139".to_string(); } + if app_id == "firefox" { + return "#ffdd46".to_string(); + } if app_id == "vesktop" || app_id == "discord" { return "#c678dd".to_string(); } -- cgit v1.3