(defwindow brightness
    :geometry (geometry :x "0px"
                        :y "40px"
                        :anchor "top center")
    :stacking "fg"
    :monitor "0"
(brightshow))

(defwidget brightshow [] 
           (box
            :class "volume-container"
            :orientation "h" 
            :space-evenly "false"
            :spacing 5
            (button
             :class "volume-icon"
             :valign "center"
             :halign "center"
             :onclick "" "墳")
            (scale
             :class "volume-value"
	     :value {volume_percent}
             :valign "center"
             :halign "start"
	     :orientation "h"
	     :max 150
	     :min 0)
            (label
             :class "volume-label"
             :halign "start"
             :valign "center"
             :text "${volume_percent}%")))