dotfiles/de/home/.config/eww/modules/widgets/weather.yuck
2025-03-12 22:45:02 -07:00

15 lines
456 B
Text

(defpoll weather_status :initial "{}"
:interval "3600s"
'scripts/widgets/weather')
(defwidget weather [json]
(box
:class "weather"
:orientation "v"
:width 300
:height 125
:space-evenly true
"Eugene, OR | ${json.condition}"
"${json.current_temp}°F (feels like ${json.feels_temp}°F)"
"${json.min_temp}°F / ${json.max_temp}°F"
"${json.humidity}% humidity"
"Updated: ${json.updated}"))