aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/system.lua
AgeCommit message (Collapse)AuthorFilesLines
2026-09-18feat: add a title icon to every labelled cardDanilo M.1-3/+3
Add card.ICON and a card.title helper that draws the glyph in the highlight colour before the label, at the label's own size. The eight labelled cards use it, in both the fit_unit width measurement and the draw, so the icon cannot overrun a narrow cell. Clock (no label) and weather (condition glyph already) are unchanged, and the no-data notice titles stay text-only. Codepoints were chosen against a rendered contact sheet, not fontconfig alone, since a wrong codepoint draws a plausible neighbour.
2026-09-17feat: give the CPU and board rows their own accentsDanilo M.1-1/+8
The two rows name two different pieces of hardware and read as one block in a single colour. heading and highlight are the palette roles that carry no state meaning, so they can stand for an identity; ok/warning/critical could not, since those say how something is doing and these strings never change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17feat: name the CPU and motherboard on the system cardDanilo M.1-3/+53
Both read once: neither changes without a reboot, and /proc/cpuinfo repeats its model-name line once per thread. The two rows come out of the equaliser's height budget, since it is the card's designated slack absorber. Its floor drops from 18px to zero: with rows above it the band can genuinely run out of room, and a fixed floor meant it kept height it did not have and the temperatures drew over it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17feat: put every card's big number in the same placeDanilo M.1-7/+8
Mirror the weather header so the glyph sits large on the left and the temperature, city and condition run against the right edge, and move the system card's CPU percentage onto its header line, right-aligned. All big values now render at the card's right edge.
2026-09-17feat: make the system card type fluidDanilo M.1-18/+40
The label, headline, RAM and temperature rows now derive from one base size, chosen from the cell height and a measured width fit, and the per-core equaliser absorbs the height left over. Bigger cell, bigger type instead of empty space; the size shrinks only on a width clash.
2026-09-17fix: shorten the cpu equaliser bars to 75%Danilo M.1-1/+1
2026-09-17fix: adjust the system cards against the screenshotsDanilo M.1-1/+1
2026-09-17feat: add the system card with a per-core equaliserDanilo M.1-0/+111