aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-16 19:25:21 +0200
committerDanilo M. <danix@danix.xyz>2026-09-16 19:25:21 +0200
commitbea9b84b0f299d6dc913399a58652b4b2f04424d (patch)
tree75e92fa1756ddc03d05250a5bb737cc52169fae4 /docs
parentca37eff5b6817e95ce5b6cfd768fd27c9af96914 (diff)
downloadconky-theme-udt-bea9b84b0f299d6dc913399a58652b4b2f04424d.tar.gz
conky-theme-udt-bea9b84b0f299d6dc913399a58652b4b2f04424d.zip
docs: fix a comment naming a function that does not exist
The test comment said "cpu_percent", but the API is new_cpu_counter() plus :sample(). Prose only, the code was always consistent, but a comment naming a nonexistent function sends the next reader looking for it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md b/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md
index 4289bb1..fee49b4 100644
--- a/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md
+++ b/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md
@@ -269,7 +269,7 @@ CPU load is a delta between two readings, so it needs state. This is separate fr
Append to `test/test_data.lua`, before the final `print`:
```lua
--- cpu_percent is a delta between two samples, so it holds state.
+-- CPU load is a delta between two samples, so the counter holds state.
-- The first call has no previous sample and must report nil, not a number:
-- any number it invented would be wrong, and 100% on startup looks like a
-- real spike.