(include "widgets/clock/clock.yuck")
(include "widgets/hardware_stats/hardware-tab/hardware_button.yuck")
(include "widgets/volume/volume.yuck")
(include "widgets/workspaces/workspaces.yuck")
(include "widgets/color/color.yuck")

(defwidget bar [desktop]
  (box :orientation "h"
    :class "bar"
    :halign "end"
    :space-evenly "false"
    (color)
    (volume_button :desktop desktop)
    (hardware_button)
    (workspaces_button)
    (clock)))
