diff --git a/src/modules/workspaces.rs b/src/modules/workspaces.rs index 259e338..b6d745b 100644 --- a/src/modules/workspaces.rs +++ b/src/modules/workspaces.rs @@ -97,6 +97,10 @@ fn create_button( style_context.add_class("focused"); } + if !visibility.is_visible() { + style_context.add_class("inactive") + } + { let tx = tx.clone(); let name = name.to_string();