From 1c9f8f9b2ad2fcd8d11e89feb503262a4da4d1a4 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Sat, 26 Apr 2025 22:45:01 -0700 Subject: [PATCH] New backup 2025-04-26 22:45:01 --- de/home/.config/eww/modules/home.yuck | 1 + de/home/.config/eww/modules/home/notes.yuck | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 de/home/.config/eww/modules/home/notes.yuck 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}"))