(include "./modules/bat.yuck") (include "./modules/bluetooth.yuck") (include "./modules/bright.yuck") (include "./modules/clock.yuck") (include "./modules/cpu.yuck") (include "./modules/mem.yuck") (include "./modules/music.yuck") (include "./modules/net.yuck") (include "./modules/variables.yuck") (include "./modules/volume.yuck") (include "./windows/calendar.yuck") (include "./windows/music.yuck") (include "./windows/notifications.yuck") (include "./windows/sidebar.yuck") (defwidget sep [] (label :class "separ module" :text "|")) (defwidget notif-toggle [] (button :class "notif-toggle module" :onclick "${EWW_CMD} open --toggle notifications"; {notif_icons.icon})) ; clipboard 󰅌 󰅍 󰄷 (defwidget workspaces [] (literal :content workspace)) (defwidget left [] (box :space-evenly false :halign "start" (workspaces))) (defwidget right [] (box :space-evenly false :halign "end" (bright) (volume-module) (net) (bluetooth) (sep) (cpu) (mem) (bat) (sep) (clock_module) (notif-toggle))) (defwidget center [] (box :space-evenly false :halign "center" (music-module))) (defwidget bar [] (centerbox :class "bar" (left) (center) (right))) (defwindow bar :monitor 0 :geometry (geometry :x "0%" :y "0%" :width "100%" :height "32px" :anchor "top center") :stacking "fg" :windowtype "dock" :exclusive true :wm-ignore false (bar))