aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 15:09:14 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 15:09:14 +0200
commitf47fe540069752367d152898edf26511de7af8cb (patch)
treec1c9d267924e8251f96b5dbd72048d208168b92f
parent734c2ac8383bc6afe45796b416cb7c70a090d569 (diff)
downloadconky-theme-udt-f47fe540069752367d152898edf26511de7af8cb.tar.gz
conky-theme-udt-f47fe540069752367d152898edf26511de7af8cb.zip
feat(now): shorten the card to its content
With the bottom glyph gone the card has no band, so it takes its whole height for the header and rows (no share) and the layout drops it from 5 rows to 4.25, the height at which the type stays full size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--dashboard.lua2
-rw-r--r--widgets/now.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/dashboard.lua b/dashboard.lua
index 9430431..ec2c464 100644
--- a/dashboard.lua
+++ b/dashboard.lua
@@ -21,7 +21,7 @@ local COLS, ROWS = 16, 12
local layout = {
{ widget = 'clock', col = 1, row = 1.5, w = 1.5, h = 5 },
-- Under the clock, same column.
- { widget = 'now', col = 1, row = 7, w = 3, h = 5 },
+ { widget = 'now', col = 1, row = 7, w = 3, h = 4.25 },
-- In the board's open middle column, left of immich.
{ widget = 'calendar', col = 2.5, row = 1, w = 3, h = 6 },
-- Clustered near now and clock
diff --git a/widgets/now.lua b/widgets/now.lua
index 03a9ecc..1803ff4 100644
--- a/widgets/now.lua
+++ b/widgets/now.lua
@@ -29,7 +29,7 @@ function M.draw(cr, rect, colors)
-- No title: the condition glyph stands in for it, at the big value's size.
card.standard(cr, inner, colors, {
icon = weather.icon(c.code, c.is_day),
- big = weather.deg(c.temp), rows = rows, share = 0.85,
+ big = weather.deg(c.temp), rows = rows,
})
end