(defwidget bar [] (centerbox :orientation "h" (leftgroup) (centergroup) (rightgroup))) ;widget templates (include "modules/bar/revealer-on-hover.yuck") (include "modules/bar/metric.yuck") ;centerbar groups (defwidget leftgroup [] (box :class "leftgroup" :orientation "h" :space-evenly false :halign "start" (powermenu) (profile) (workspaces :array workspacesArray) (windowtitle))) (defwidget centergroup [] (box :class "centergroup" :orientation "h" :space-evenly false :halign "start" (music))) (defwidget rightgroup [] (box :class "rightgroup" :orientation "h" :space-evenly false :halign "end" (idleinhibit) (volume) (network) (vpn) (bluetooth) (battery) (sysdisk) (sysmem) (clock) (tray))) ;leftgroup ;(include "modules/bar/powermenu.yuck") (include "modules/bar/profile.yuck") (include "modules/bar/workspaces.yuck") (include "modules/bar/window_name.yuck")