diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-16 19:23:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-16 19:23:35 +0200 |
| commit | f822a250f9b2759207d64cc53b3d80c0c08d2082 (patch) | |
| tree | b3ea539a252b7d7c34b08410b371cd58f583ca05 /widgets | |
| parent | 4538896ce65156883dc44cc3355435d40d7e682b (diff) | |
| download | conky-theme-udt-f822a250f9b2759207d64cc53b3d80c0c08d2082.tar.gz conky-theme-udt-f822a250f9b2759207d64cc53b3d80c0c08d2082.zip | |
feat: add /proc and /sys parsers with fixture tests
Parsers take file contents as a string, not a path, so they test
against committed fixtures with no filesystem mocking.
hwmon is globbed by its name file rather than a fixed index, carried
over from the old config: indices drift across kernel reorders and a
stale one silently reads a different chip.
Failure returns nil, never 0. A sensor reading 0 C is legitimate, so 0
cannot double as an error value.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'widgets')
0 files changed, 0 insertions, 0 deletions
