diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-16 19:24:48 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-16 19:24:48 +0200 |
| commit | ca37eff5b6817e95ce5b6cfd768fd27c9af96914 (patch) | |
| tree | 74b86f6e509be51a1a943e7c95cb389d695b55c9 /widgets | |
| parent | f822a250f9b2759207d64cc53b3d80c0c08d2082 (diff) | |
| download | conky-theme-udt-ca37eff5b6817e95ce5b6cfd768fd27c9af96914.tar.gz conky-theme-udt-ca37eff5b6817e95ce5b6cfd768fd27c9af96914.zip | |
feat: add stateful CPU percentage counter
Load is a delta, so one reading cannot yield a percentage. The first
call returns nil rather than a fabricated number: 100% on startup reads
as a real spike.
A non-advancing counter also returns nil instead of dividing by zero,
and the result is clamped because a suspend/resume can produce a
nonsense delta.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'widgets')
0 files changed, 0 insertions, 0 deletions
