diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-18 15:16:05 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-18 15:16:05 +0200 |
| commit | 2081aa8dbc2e2b8aaec0aade6f74aa61ffc3bbca (patch) | |
| tree | 5f188929e331ff4d65349a7da9934ebbb160fc42 /widgets/details.lua | |
| parent | 1ed34aa44879296eef34bb0509e8b96533217f15 (diff) | |
| download | conky-theme-udt-2081aa8dbc2e2b8aaec0aade6f74aa61ffc3bbca.tar.gz conky-theme-udt-2081aa8dbc2e2b8aaec0aade6f74aa61ffc3bbca.zip | |
feat(details): air under the compass, no empty strip under the rows
The compass goes back to the big slot's own size, leaving a gap above
the WIND row. card.standard()'s height budget reserved about a fifth
more than the header and rows draw; it now matches what is drawn plus a
little air, which changes nothing on a card already at the size cap
(compared pixel for pixel) and lets details drop to 3.75 rows at full
type. sky moves up to take the space.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'widgets/details.lua')
| -rw-r--r-- | widgets/details.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/details.lua b/widgets/details.lua index 36ce016..f5f23ad 100644 --- a/widgets/details.lua +++ b/widgets/details.lua @@ -79,8 +79,7 @@ function M.draw(cr, rect, colors) card.standard(cr, inner, colors, { icon = card.ICON.details, title = 'DETAILS', rows = rows, big = function(cr, right, top, size) - -- 1.2x the slot: the first row starts lower than the big text ends. - draw_compass(cr, right, top, size * 1.2, colors, c.wind_deg) + draw_compass(cr, right, top, size, colors, c.wind_deg) end, }) end |
