dotfiles/eww/widgets/bar.yuck
2025-01-20 22:33:43 -05:00

31 lines
1.1 KiB
Plaintext

(include "widgets/date_time.yuck")
(include "widgets/nowplaying.yuck")
(include "widgets/divider.yuck")
(include "widgets/quick_power.yuck")
(include "widgets/workspaces.yuck")
(include "widgets/system_info.yuck")
(include "widgets/desktop_button.yuck")
(include "widgets/weather.yuck")
(defpoll minimized :interval "0.1s" "bash scripts/workspace_class.sh 10")
(defwidget bar []
(box :orientation "h" :class "bar" :spacing "10" :space-evenly false
(centerbox :orientation "h" :hexpand true :class "center bar_section"
(box :class "left" :halign "start"
(workspaces)
)
(box :class "center" :halign "end"
)
(box :halign "end" :space-evenly "false"
(weather)
(systeminfo)
(date_time)
(button :class minimized :tooltip "Show Minimied" :onclick "hyprctl dispatch workspace 10" " ")
)
)
(box :class "right bar_section" :halign "end" :space-evenly false
(quickpower)
)
)
)