make the empty workspaces have darker opacity or something

This commit is contained in:
Sakooooo 2024-11-26 17:28:59 +04:00
parent 3e384ea043
commit af34733ecb
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -86,7 +86,7 @@ function Workspaces() {
return <box className="Workspaces">
{workspaceButtons.map (workspace =>
<button
className={bind(hypr, "focused-workspace").as(fw => workspace === fw.id ? "focused" : "")}
className={bind(hypr, "focused_workspace").as(fw => workspace === fw.id ? "focused" : hypr.get_workspace(workspace) ? "" : "inactive" )}
>{workspace}</button>
)}
</box>