This commit is contained in:
Sakooooo 2024-11-26 15:36:21 +04:00
parent ed0dabf634
commit 2219dc9510
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 6 additions and 1 deletions

View file

@ -38,6 +38,7 @@ window.Bar {
.Workspaces {
background-color: $bg;
color: $fg;
}
.right {
@ -49,6 +50,10 @@ window.Bar {
background-color: $accent;
}
.Workspaces .inactive label {
opacity: 0.5;
}
.FocusedClient {
color: $accent;
}

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" : bind(hypr, "workspaces").as(ws => ws.id.contains(workspace)) ? "inactive" : "")}
className={bind(hypr, "focused-workspace").as(fw => workspace === fw.id ? "focused" : "")}
>{workspace}</button>
)}
</box>