its over
This commit is contained in:
parent
ed0dabf634
commit
2219dc9510
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue