Switch to niri - Episode 2: The (first?) purge

This commit is contained in:
Schrottkatze 2025-03-14 20:02:24 +01:00
parent f28ec1ae8f
commit c2ebb8d760
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
54 changed files with 192 additions and 83206 deletions

View 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"
)