aboutsummaryrefslogtreecommitdiffstats
path: root/conky.conf.in
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 09:11:56 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 09:11:56 +0200
commit2bdb74a1cbd4b33216d94713de1f1b3c81f631e2 (patch)
treeaae8b839b73110bada9274e4ee12e58e15c2964a /conky.conf.in
parent04542528f018678b64e0003eab078858c31f196e (diff)
downloadconky-theme-udt-2bdb74a1cbd4b33216d94713de1f1b3c81f631e2.tar.gz
conky-theme-udt-2bdb74a1cbd4b33216d94713de1f1b3c81f631e2.zip
feat: add the weather card
Draws current conditions plus a sunrise-to-sunset arc in widgets/weather.lua, placed at col 2 in dashboard.lua's layout. Schedules the periodic fetch via execi in conky.conf.in, tying refresh to conky's own lifecycle. The no-data env-file probe now closes its handle explicitly: the branch reruns every draw until a fetch succeeds, so an unclosed io.open there would leak one handle per frame. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'conky.conf.in')
-rw-r--r--conky.conf.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/conky.conf.in b/conky.conf.in
index 9587f91..1eb99b4 100644
--- a/conky.conf.in
+++ b/conky.conf.in
@@ -46,5 +46,8 @@ conky.config = {
default_shade_color = '@BODY_SHADE@',
}
--- Empty by design: Cairo output covers conky.text.
-conky.text = [[]]
+-- Cairo output covers conky.text, so nothing here is visible. The execi still
+-- fires on schedule: verified with a probe config whose only text was an execi
+-- producing no output. This is what refreshes the weather cache, and tying it
+-- to conky means nothing fetches while the dashboard is down.
+conky.text = [[${execi 900 ~/.config/conky/bin/weather-fetch.sh}]]