aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/system.lua
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 09:16:58 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 09:16:58 +0200
commitaf64aed9b49c727d6b4050f3534115cead314f1d (patch)
treef085ad2769bd1583e85b941c43dd13d362f0b89c /widgets/system.lua
parent2bdb74a1cbd4b33216d94713de1f1b3c81f631e2 (diff)
downloadconky-theme-udt-af64aed9b49c727d6b4050f3534115cead314f1d.tar.gz
conky-theme-udt-af64aed9b49c727d6b4050f3534115cead314f1d.zip
fix: size the weather card to its content
The first draft placed every band at a fixed pixel offset and let the arc absorb whatever height was left. In a 1x2 cell on this monitor that is 794px of arc: a cathedral arch under a fifth of a card of content, nothing like the mockup it was shaped after. Three changes, all visible in an offscreen render of the real widget: - Type sizes and band offsets scale with the rect, within clamps, so the proportions hold on the 1920 monitor as well as this one. - The arc gets a bounded band that follows the stats instead of being pinned to the bottom, so no dead strip opens between them. - The layout gives the widget a 1x1 cell. Its content is about 350px tall and a full-height cell cannot be filled without inventing data. Found before restarting conky by loading conky's own cairo bindings standalone and rendering the widget to a PNG, which is a far tighter loop than install, restart, switch workspace, screenshot. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'widgets/system.lua')
0 files changed, 0 insertions, 0 deletions