diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 10:13:58 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 10:13:58 +0200 |
| commit | 9875bfe6b38ec7ace3745ae9540e1f8655d2a116 (patch) | |
| tree | a6085721f02fc7f14550ea9ef43be2451c4d0de9 | |
| parent | d4a2b43ea95ef6e32e78bea25f5336ea54ec92ee (diff) | |
| download | conky-theme-udt-9875bfe6b38ec7ace3745ae9540e1f8655d2a116.tar.gz conky-theme-udt-9875bfe6b38ec7ace3745ae9540e1f8655d2a116.zip | |
feat: 16x12 grid, clock at 1.5 columns
A finer grid to place cards in smaller increments. The clock takes a
fractional 1.5-column span, which rect_for supports because it is plain
arithmetic with no integer assumption; note that a span of w covers w
cells plus the w-1 gaps between them, so 1.5 is slightly wider than one
and a half bare cells.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| -rw-r--r-- | dashboard.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dashboard.lua b/dashboard.lua index f5c068e..2d1666f 100644 --- a/dashboard.lua +++ b/dashboard.lua @@ -16,12 +16,12 @@ local card = require 'lib.card' -- Order and position are yours: edit this table, nothing else. -- col/row are grid cells, w/h span cells. Cell size is derived from the -- surface, so the same table works on a 2560x1080 and a 1920x1080 screen. -local COLS, ROWS = 8, 6 +local COLS, ROWS = 16, 12 local layout = { - { widget = 'clock', col = 1, row = 1, w = 1, h = 3 }, + { widget = 'clock', col = 1, row = 1, w = 1.5, h = 5 }, -- Under the clock, same column. - { widget = 'weather', col = 1, row = 4, w = 2, h = 3 }, + { widget = 'weather', col = 1, row = 6, w = 3, h = 5 }, } -- ========================================================================== |
