niri-workspaces-rs

a better way to visualise workspace windows in niri window manager
Log | Files | Refs | README

commit fe31ae07808753a3b29b03e71aa768d37b9ad05e
parent 8dc6dbb906c7cde13f8956a98a4c57cdb2268d7b
Author: 1jehuang <[email protected]>
Date:   Sat, 20 Dec 2025 18:35:26 -0800

Remove strikethrough rendering

Diffstat:
Msrc/main.rs | 10+---------
1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -129,15 +129,7 @@ fn output_status(workspaces: &[Workspace], windows: &[Window]) { "|" }; - let strike = if ws.is_active { - " strikethrough='true'" - } else { - "" - }; - output.push_str(&format!( - "<span color='{}'{}>{}</span>", - color, strike, bar - )); + output.push_str(&format!("<span color='{}'>{}</span>", color, bar)); } output };