aboutsummaryrefslogtreecommitdiffstats
path: root/bin/cache-sample.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 19:12:23 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 19:12:23 +0200
commit8a6c0730f8e9f2c1e6033d3e66d2c524d7b9f91d (patch)
treed9b515c5c14129d3de4ed03bac59ef3b20507e01 /bin/cache-sample.sh
parent0048d3075adfd0336def9a25ce039765e43b4b3a (diff)
downloadconky-theme-udt-8a6c0730f8e9f2c1e6033d3e66d2c524d7b9f91d.tar.gz
conky-theme-udt-8a6c0730f8e9f2c1e6033d3e66d2c524d7b9f91d.zip
feat: sample the public IP into a cache file
The draw hook must never make a network call: a hung request blocks the Cairo draw and freezes the dashboard. Thirty minutes, not the old config's five, because a residential address is stable for days. Validates the response before writing. A captive portal and a rate-limit message both arrive with a 200 and would otherwise be drawn as an address. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'bin/cache-sample.sh')
0 files changed, 0 insertions, 0 deletions