diff --git a/de/home/.config/eww/modules/home.yuck b/de/home/.config/eww/modules/home.yuck index 0f43d06..b7d6561 100644 --- a/de/home/.config/eww/modules/home.yuck +++ b/de/home/.config/eww/modules/home.yuck @@ -11,3 +11,4 @@ (include "modules/home/rat.yuck") (include "modules/home/weather.yuck") (include "modules/home/shortcuts.yuck") +(include "modules/home/notes.yuck") diff --git a/de/home/.config/eww/modules/home/notes.yuck b/de/home/.config/eww/modules/home/notes.yuck new file mode 100644 index 0000000..c2a06b7 --- /dev/null +++ b/de/home/.config/eww/modules/home/notes.yuck @@ -0,0 +1,14 @@ +(defpoll weather_status :initial "{'condition':'loading...','current_temp':'--','feels_temp':'--','min_temp':'--','max_temp':'--','humidity':'--','icon':' ','updated':'loading...'}" + :interval "3600s" + 'scripts/home/hass_weather') +(defwidget weather [json] + (box + :class "weather" + :orientation "v" + :width 300 + :height 125 + :space-evenly true + "${json.condition} ${json.icon}" + "${json.current_temp}°F  / ${json.humidity}% " + " ${json.max_temp}°F  ${json.min_temp}°F" + " ${json.updated}"))