aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 09:20:22 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 09:20:22 +0200
commita3bb9e2764b415901fb2475c03f6fdb8a736d4fa (patch)
tree8ba41f20eefce6eb9c983d7276041f194d716f4c /docs
parentaf64aed9b49c727d6b4050f3534115cead314f1d (diff)
downloadconky-theme-udt-a3bb9e2764b415901fb2475c03f6fdb8a736d4fa.tar.gz
conky-theme-udt-a3bb9e2764b415901fb2475c03f6fdb8a736d4fa.zip
feat: put the weather card under the clock, scale its type to width
Placement is column 1 row 2, directly beneath the clock, which drops to a single-row cell to make room. The card's type now scales off the cell WIDTH rather than its height. Scaling off height meant the text shrank every time the cell got shorter, and beside the clock's numerals the card read as a whisper. Width is the stable dimension for this layout and is what constrains the text anyway, since the stat rows run edge to edge. Verified against the live dashboard, not only the offscreen render: the two disagreed about type size precisely because the offscreen harness was cropped to the card and never showed it next to the clock. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/superpowers/plans/2026-09-17-weather-widget.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/superpowers/plans/2026-09-17-weather-widget.md b/docs/superpowers/plans/2026-09-17-weather-widget.md
index 14bf11f..3288c8f 100644
--- a/docs/superpowers/plans/2026-09-17-weather-widget.md
+++ b/docs/superpowers/plans/2026-09-17-weather-widget.md
@@ -1065,10 +1065,10 @@ In `dashboard.lua`, replace the `layout` table:
```lua
local layout = {
{ widget = 'clock', col = 1, row = 1, w = 1, h = 2 },
- -- 1x1, not 1x2: the card's content is about 350px tall, so a full-height
- -- cell left a dead band down its middle. A single-row cell is as tall as
- -- what it holds.
- { widget = 'weather', col = 2, row = 1, w = 1, h = 1 },
+ -- Under the clock, same column. 1x1 rather than a full-height cell: the
+ -- card's content is about 350px tall and a taller cell left a dead band
+ -- down its middle.
+ { widget = 'weather', col = 1, row = 2, w = 1, h = 1 },
}
```