aboutsummaryrefslogtreecommitdiffstats
path: root/test/fixtures/weather.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 14:28:34 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 14:28:34 +0200
commit48e1a59fd091abdc409d7c30f5e33bdf53ea7cbd (patch)
tree191f0207a611e46ca918ed838d9ec6335c89d4ea /test/fixtures/weather.txt
parent0d8ad4d94c7aa96bdb1becac0c0f9e43ffa77dd0 (diff)
downloadconky-theme-udt-48e1a59fd091abdc409d7c30f5e33bdf53ea7cbd.tar.gz
conky-theme-udt-48e1a59fd091abdc409d7c30f5e33bdf53ea7cbd.zip
feat(weather): parse an Open-Meteo cache instead of OWM JSON
WMO codes to glyphs and words, moon phase, UV and AQI roles, and a parser for the tab-separated cache the fetcher will write. Groundwork for the Mirage-derived forecast cards. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'test/fixtures/weather.txt')
-rw-r--r--test/fixtures/weather.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fixtures/weather.txt b/test/fixtures/weather.txt
new file mode 100644
index 0000000..b1a1af8
--- /dev/null
+++ b/test/fixtures/weather.txt
@@ -0,0 +1,9 @@
+units metric
+current 1792325700 13.2 11.5 3 1 77 10.2 72
+sun 1792301818 1792339510
+air 37
+hour 1792324800 13.1 3 0 1 1.15
+hour 1792328400 13.4 61 40 1 null
+hour 1792332000 null 3 0 0 0.95
+day 1792274400 3 8.1 14.6 10
+day 1792360800 61 7.4 12.0 80