(defpoll WS :interval "0.1s" "/home/fox/.config/eww/workspace-number.sh") (defpoll WST :interval "0.1s" "/home/fox/.config/eww/workspace-title.sh") (defpoll DATE :interval "40s" "date +'%H:%M'") (defpoll VOL :interval "0.1s" "/home/fox/.config/eww/volume.sh") (defpoll LGN :interval "0.1s" "/home/fox/.config/eww/language.sh") (defpoll UPT :interval "3600s" "/home/fox/.config/eww/uptime.sh") (defpoll MS :interval "0.1s" "/home/fox/.config/eww/music.sh") (defwindow bar :monitor 0 :geometry (geometry :x "0" :y "7" :width "850" :height "45" :anchor "bottom center") :stacking "fg" :exclusive true :windowtype "dock" :wm-ignore false (box (left) (center) (right))) (defwidget left [] (box :orientation "h" :valign "center" :space-evenly "false" (box :halign "center" :orientation "v" (label :class "ws-number-class" :text WS)) (box :halign "start" :orientation "v" (label :class "ws-title-class" :text WST)))) (defwidget center [] (box :orientation "h" :halign "center" :valign "center" :class "music" MS)) (defwidget right [] (box :orientation "h" :halign "end" :valign "center" :space-evenly "false" :vexpand "false" :hexpand "false" :class "right1" (box :orientation "h" :class "upt" (label :class "uptime-class" :text UPT)) (box (label :class "language-class" :text LGN)) (box (label :class "volume-class" :text VOL)) (box (label :class "date-class" :text DATE))))