make inactive workspaces have an inactive class
This commit is contained in:
parent
608c48d139
commit
ed0dabf634
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ function Workspaces() {
|
||||||
return <box className="Workspaces">
|
return <box className="Workspaces">
|
||||||
{workspaceButtons.map (workspace =>
|
{workspaceButtons.map (workspace =>
|
||||||
<button
|
<button
|
||||||
className={bind(hypr, "focusedWorkspace").as(fw => workspace === fw.id ? "focused" : "")}
|
className={bind(hypr, "focused-workspace").as(fw => workspace === fw.id ? "focused" : bind(hypr, "workspaces").as(ws => ws.id.contains(workspace)) ? "inactive" : "")}
|
||||||
>{workspace}</button>
|
>{workspace}</button>
|
||||||
)}
|
)}
|
||||||
</box>
|
</box>
|
||||||
|
|
Loading…
Reference in a new issue