Eww: Modularized and improved CSS

This commit is contained in:
soraefir
2023-11-23 20:46:43 +01:00
parent 5e569bbb48
commit afaed60935
12 changed files with 207 additions and 139 deletions

View File

@ -16,7 +16,7 @@
:orientation "v"
:halign "end"
:valign "start"
(workspaces)))
(workspace-mod)))
(defwidget right []
(box
@ -24,9 +24,9 @@
:orientation "v"
:halign "end"
:valign "end"
(sys)
(net)
(clock)))
(sys-mod)
(net-mod)
(clock-mod)))
(defwidget center []
(box
@ -34,7 +34,7 @@
:orientation "v"
:halign "end"
:valign "center"
(radio-button)))
(radio-mod)))
(defwidget bar-box []
(centerbox
@ -56,3 +56,30 @@
:stacking "fg"
:exclusive true
(bar-box))
(defwidget window []
(box
:class "winouter"
(eventbox
:class "winevent"
(box
:class "wininner"
(children)
)
)
)
)
(defwidget module []
(box
:class "modouter"
(eventbox
:class "modevent"
(box
:class "modinner"
(children)
)
)
)
)