diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 18:46:47 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 18:46:47 +0200 |
| commit | 388943f22861fb50951beeca11221260f37222ca (patch) | |
| tree | 8a4c5b435db20ebb9a4749ff6f0ffbc580f57e69 /widgets/system.lua | |
| parent | 856abdc38495bbe304b690a98fa89491a1a6fce6 (diff) | |
| download | conky-theme-udt-388943f22861fb50951beeca11221260f37222ca.tar.gz conky-theme-udt-388943f22861fb50951beeca11221260f37222ca.zip | |
docs: design the network and slackware widgets
Two new cards and three fixes to existing ones.
The network card reads the interface byte counters directly and keeps its
own history, one sample per pixel column, so the chart never interpolates.
Both series share one autoscale: drawn independently, a 200kB/s upload would
look like a 40MB/s download. The public address moves from the old config's
5 minute poll to 30 minutes, since a residential address is stable for days.
The slackware card takes its numbers from a sampler rather than the draw
hook, and stores epochs instead of reconstructed dates. The shell function it
replaces parses ls -l output and hardcodes the year, which breaks every
January and on any file older than six months.
Records two things found while checking real values against the design:
/var/log/packages is a symlink, so counting it without a trailing slash
reports 1 package rather than 2817, and the ChangeLog mtime on this machine
currently reads in the future, so the age arithmetic has to survive a
negative difference.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'widgets/system.lua')
0 files changed, 0 insertions, 0 deletions
