diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 13:07:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 13:07:22 +0200 |
| commit | bc2bb5892eda1bbaf1409e2a260f8de5019a9d0d (patch) | |
| tree | ea3f8229592dcb8fa8edda24a447b9937ab7de15 | |
| parent | 43ff74df86e4c58818fd388ea72475cda66ebcaf (diff) | |
| download | conky-theme-udt-bc2bb5892eda1bbaf1409e2a260f8de5019a9d0d.tar.gz conky-theme-udt-bc2bb5892eda1bbaf1409e2a260f8de5019a9d0d.zip | |
fix: shorten the cpu equaliser bars to 75%
| -rw-r--r-- | widgets/system.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/system.lua b/widgets/system.lua index 7116302..752f61a 100644 --- a/widgets/system.lua +++ b/widgets/system.lua @@ -59,7 +59,7 @@ function M.draw(cr, rect, colors) if n > 0 then local gap = math.max(2, inner.w * 0.006) local bw = (inner.w - gap * (n - 1)) / n - local eh = clamp(inner.h * 0.42, 24, 220) + local eh = clamp(inner.h * 0.315, 18, 165) -- Below about 3px a row of sixteen bars is an illegible smear; drop to the -- aggregate bar instead of drawing one. if bw >= 3 then |
