[eww] Adds my Eww config

This commit is contained in:
2025-02-16 13:34:14 -08:00
parent cb5c6518f1
commit e642c86e21
16 changed files with 923 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)
)