diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 12:40:13 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 12:40:13 +0200 |
| commit | adecc8de0e90b3856c8807e1c3610c70879545ad (patch) | |
| tree | a530c9e19a7b03b73f0526c9e62cf00ba17e607e /widgets | |
| parent | 32e10b1d6962afd04a209f300ebb8ab9ee29f070 (diff) | |
| download | conky-theme-udt-adecc8de0e90b3856c8807e1c3610c70879545ad.tar.gz conky-theme-udt-adecc8de0e90b3856c8807e1c3610c70879545ad.zip | |
docs: correct the system-widget comments and defer the age marker
Fix the conky.conf.in comment to name all three samplers and the README
to say the cache sampler runs every 15 minutes. Rewrite the disks layout
comment to match per_row = n (no wrapping), drop the stale "seventeenth
bar" note, and record in the spec that the cache age marker is
deliberately deferred with the epoch-line upgrade path.
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/disks.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/widgets/disks.lua b/widgets/disks.lua index aff3e5b..c5fec1e 100644 --- a/widgets/disks.lua +++ b/widgets/disks.lua @@ -60,9 +60,10 @@ function M.draw(cr, rect, colors) local top = inner.y + label_size * 2.2 local avail_h = (inner.y + inner.h) - top - -- Lay the rings out in a row, wrapping if the card is narrow. Below the - -- radius where a ring reads, fall back to labelled bars rather than drawing - -- a row of illegible dots. + -- All rings share one row: the cell width shrinks as mounts are added and + -- the ring radius follows it, so the layout never wraps. Below the radius + -- where a ring reads, fall back to labelled bars rather than drawing a row + -- of illegible dots. local n = #fs local per_row = n local cell_w = inner.w / per_row |
