[eww] Move eww back to a common dir

This commit is contained in:
2025-03-28 10:37:59 -07:00
parent b241ccd7d8
commit f3986a8773
17 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
(defwidget workspaces [workspaces-json]
(box
:class "workspaces"
:orientation "h"
:space-evenly false
(for ws in workspaces-json
(box
(label
:text "${ws.name}"
:class "workspace ${ ws.active ? "active" : "inactive" } ${ws.focused ? "focused" : "unfocused"}"
)
)
)
)
)
(defwidget workspaces-primary []
(workspaces :workspaces-json workspaces-json-dp2)
)
(defwidget workspaces-secondary []
(workspaces :workspaces-json workspaces-json-dp1)
)