diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 10:11:15 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 10:11:15 +0200 |
| commit | d4a2b43ea95ef6e32e78bea25f5336ea54ec92ee (patch) | |
| tree | bc09dba141efdc656c38458913e17b781ce68ba8 /widgets/system.lua | |
| parent | 4e133cddd6ef7735eee264f90a4b69e814c2dea7 (diff) | |
| download | conky-theme-udt-d4a2b43ea95ef6e32e78bea25f5336ea54ec92ee.tar.gz conky-theme-udt-d4a2b43ea95ef6e32e78bea25f5336ea54ec92ee.zip | |
fix: close the gap between the clock numerals and the date
The numeral size was capped at a flat 0.46 of the available height,
which for two baselines spanning 1.70x the size meant they could only
ever fill about four fifths of the band, leaving a void above the date.
The divisor is now derived from the baselines themselves.
The width cap is measured rather than guessed: two Oswald digits are
1.00x the font size wide (at size 100, '00' measures 100.0px and the
widest pair '88' 98.0px), so a width w permits a size of about w, less
a margin at the card edges.
A narrow cell is still width-bound and cannot fill its height. That
slack is now split above and below the numerals instead of collecting
under them, so the pair sits centred in the space it cannot fill.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'widgets/system.lua')
0 files changed, 0 insertions, 0 deletions
