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 {
|
.Workspaces {
|
||||||
background-color: $bg;
|
background-color: $bg;
|
||||||
|
color: $fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
|
@ -49,6 +50,10 @@ window.Bar {
|
||||||
background-color: $accent;
|
background-color: $accent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.Workspaces .inactive label {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
.FocusedClient {
|
.FocusedClient {
|
||||||
color: $accent;
|
color: $accent;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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, "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>
|
>{workspace}</button>
|
||||||
)}
|
)}
|
||||||
</box>
|
</box>
|
||||||
|
|
Loading…
Reference in a new issue