diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 13:15:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 13:15:31 +0200 |
| commit | 8e1baa72813fd93fc103b6d2d69753f952a24e3f (patch) | |
| tree | 73c1718e9ee692d38cf6c7428783a759d3623756 /README.md | |
| parent | 5b210415759bf0fbd605a5cee84a10450866530c (diff) | |
| download | conky-theme-udt-8e1baa72813fd93fc103b6d2d69753f952a24e3f.tar.gz conky-theme-udt-8e1baa72813fd93fc103b6d2d69753f952a24e3f.zip | |
feat: put every card's big number in the same place
Mirror the weather header so the glyph sits large on the left and the
temperature, city and condition run against the right edge, and move the
system card's CPU percentage onto its header line, right-aligned. All
big values now render at the card's right edge.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -187,9 +187,9 @@ cell is left sparse; size it off the height alone and a short cell shrinks the text to a whisper. The robust way is a measured fit: `card.fit_unit()` returns the largest base size at which every row still fits the width, and the widget takes the smaller of that and its height budget. Larger cell, larger type; a row -that would collide pulls the size back down. The GPU and cache cards do this. A -card that cannot afford the measuring pass can still key off width with a clamp, -`math.max(lo, math.min(hi, inner.w * k))`; the clock, weather, system and disks +that would collide pulls the size back down. The GPU, cache and system cards do +this. A card that cannot afford the measuring pass can still key off width with +a clamp, `math.max(lo, math.min(hi, inner.w * k))`; the clock, weather and disks cards do. **Decide where the slack goes, and let one element absorb it.** The clock pins |
