diff options
| author | ryukamish <[email protected]> | 2026-04-27 15:12:45 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-04-27 15:12:45 +0530 |
| commit | affa57863899f1b8afb7e656c76de4a801e0e8e4 (patch) | |
| tree | 4318ccb6ef711384a6576700e9de8eee2148bf84 | |
| parent | 853d4a7a3b12bbb6dd679e644f759e71bd6731bc (diff) | |
fix: firefox color and overall color change overhaul
| -rw-r--r-- | src/main.rs | 11 |
1 files 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 // "<span color='#888888'>ยท</span>".to_string() - format!("{} <span color='#888888'>.</span>", ws.idx) + format!("{} <span color='#b8a9e9'>.</span>", ws.idx) } else { let mut output = String::new(); // Always show the workspace number on the left if ws.is_focused { - output.push_str(&format!("<span color='#cccccc'>{}</span> ", ws.idx)); + output.push_str(&format!("<span color='#b8a9e9'>{}</span> ", ws.idx)); } // Show workspace name only when focused if has_custom_name && ws.is_focused { - output.push_str(&format!("<span color='#cccccc'>{}</span> ", ws_name)); + output.push_str(&format!("<span color='#b8a9e9'>{}</span> ", 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 { - "<span color='#a76eee'>โ</span>" + "<span color='#f6764f'>โ</span>" } 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(); } |
