snowflake/home/programs/eww/config/widgets/datetime.yuck

9 lines
145 B
Text
Raw Normal View History

(defpoll time :interval "60s"
:initial "initial-value"
`date +%H:%M`)
(defwidget time []
(box
:class "time"
(label
:text time)))