small amounts of work on ws monitor
This commit is contained in:
parent
bc6d1a94a5
commit
582b4cbe3f
3 changed files with 19 additions and 14 deletions
|
@ -3,8 +3,8 @@
|
|||
:class "workspaces"
|
||||
(for workspace in workspaces
|
||||
(button
|
||||
:style "border-bottom: 4px solid ${workspace.color}"
|
||||
:class "${workspace.active ? "focused" : 0}"
|
||||
:style "border-bottom: 4px solid ${workspace.color}${workspace.active ? "; background-color: #3c3836" : ""}"
|
||||
:class "${workspace.focused ? "focused" : ""}"
|
||||
:onclick "swaymsg workspace ${workspace.name}"
|
||||
(label :text "${workspace.idx}")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue