(defwidget duration []
    (circular-progress
        :value duration_perc
        :start-at 75
        :thickness 2.5
        :clockwise true))

(defpoll duration_perc :interval "0.1s" "~/.config/eww/widgets/player/duration/duration")