mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-25 19:01:19 +01:00
fix(bar): consider all window types when hiding empty ws
This commit ensures that floating windows, monocle containers and maximized windows will be considered when the hide_empty_workspaces option is enabled for the komorebi widget. re #1131
This commit is contained in:
@@ -570,7 +570,7 @@ impl KomorebiNotificationState {
|
||||
|
||||
for (i, ws) in monitor.workspaces().iter().enumerate() {
|
||||
let should_show = if self.hide_empty_workspaces {
|
||||
focused_workspace_idx == i || !ws.containers().is_empty()
|
||||
focused_workspace_idx == i || !ws.is_empty()
|
||||
} else {
|
||||
true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user