aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/system.lua
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 19:04:34 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 19:04:34 +0200
commitc521d9eb71c9ca96348598d20eecb5ffd746aabf (patch)
tree7ffcc2d0426bfaeb6d6944c9360466daed864876 /widgets/system.lua
parent1aa67dbe3e711617895d7b1d6e4dffccc74fa95a (diff)
downloadconky-theme-udt-c521d9eb71c9ca96348598d20eecb5ffd746aabf.tar.gz
conky-theme-udt-c521d9eb71c9ca96348598d20eecb5ffd746aabf.zip
feat: add a byte-rate counter for interface statistics
Mirrors new_cpu_counter: cumulative counters need two samples to yield a rate, and each direction carries its own previous reading. Clamps a negative delta to zero rather than letting a 32-bit wrap or an interface reset produce a spike. One bogus sample sets the shared autoscale and flattens the entire window. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'widgets/system.lua')
0 files changed, 0 insertions, 0 deletions