mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-09-07 20:01:40 +02:00
do some moving
This commit is contained in:
parent
9379b9c61b
commit
49298541e5
40 changed files with 13 additions and 16 deletions
18
modules/de/home/eww/configDir/bottomBar/workspaces.yuck
Normal file
18
modules/de/home/eww/configDir/bottomBar/workspaces.yuck
Normal file
|
@ -0,0 +1,18 @@
|
|||
(defwidget workspaceWidget []
|
||||
(box
|
||||
:class "workspaces"
|
||||
(for workspace in workspaces
|
||||
(button
|
||||
: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}")
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
(deflisten workspaces
|
||||
:initial "[]"
|
||||
"bar-ws-monitor"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue