refactor: remove unnecessary classes in EWW config

This commit is contained in:
Kiana Sheibani 2025-02-27 15:54:20 -05:00
parent c029404eaa
commit 7933cd829b
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -29,9 +29,9 @@
(eventbox :onclick "hyprctl dispatch workspace ${workspace.id}"
(overlay
(box :class "workspace-button ${workspace.id == current_workspace ? "current" : ""
} ${workspace.windows > 0 ? "occupied" : "empty"
} ${workspace.previous > 0 ? "previous-occupied" : "previous-empty"
} ${workspace.next > 0 ? "next-occupied" : "next-empty"}"
} ${workspace.windows > 0 ? "occupied" : ""
} ${workspace.previous > 0 ? "previous-occupied" : ""
} ${workspace.next > 0 ? "next-occupied" : ""}"
{workspace.id})
(box :visible {workspace.id == current_workspace}
{workspace.id}))))