(include "modules/workspaces.yuck") (include "modules/sys.yuck") (include "modules/net.yuck") (include "modules/systray.yuck") (include "modules/clock.yuck") (include "windows/calendar.yuck") (include "windows/sys.yuck") (include "windows/radio.yuck") (include "windows/powermenu.yuck") (defwidget left [] (box :space-evenly false :orientation "v" :halign "end" :valign "start" (workspace-mod))) (defwidget right [] (box :space-evenly false :orientation "v" :halign "end" :valign "end" (sys-mod) (net-mod) (systray-mod) (clock-mod))) (defwidget center [] (box :space-evenly false :orientation "v" :halign "end" :valign "center" (radio-mod))) (defwidget bar-box [] (centerbox :orientation "v" :class "bar" (left) (center) (right))) (defwindow bar :monitor 0 :geometry (geometry :x "0%" :y "0%" :width "20px" :height "100%" :anchor "right center") :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) ) ) ) )