Eww: Modularized and improved CSS
This commit is contained in:
@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user