aboutsummaryrefslogtreecommitdiffstats
path: root/weather.env.example
AgeCommit message (Collapse)AuthorFilesLines
11 daysfeat(weather): fetch from Open-Meteo, no API keyDanilo M.1-7/+7
Forecast and air quality from Open-Meteo, flattened by jq into the tab-separated cache lib/weather.lua parses. The city is geocoded once and cached; a failed air-quality call drops one line, not the cache. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-17feat: add the weather fetch scriptDanilo M.1-0/+12
Fetches current weather from OpenWeatherMap into a cache file, meant to run from conky's ${execi 900 ...}. Writes to a temp file in the same directory as the target and renames atomically, so a killed or failed fetch never leaves the widget reading a half-written or error response. Distinguishes HTTP failure from a 200-with-error-body (a bad key returns the latter for some endpoints, the former here), and leaves any existing good cache untouched on either kind of failure. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>