aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/slackware.lua
AgeCommit message (Collapse)AuthorFilesLines
2026-09-19feat: label the Slackware age and use Italian weekday initialsDanilo M.1-1/+8
The Slackware card's big value gave no hint it was the slackpkg ChangeLog age. Add a small line under the title naming it. The calendar's weekday initials were English. Use the Italian single-letter form, matching the card's already-Italian breaktimer labels.
2026-09-18feat: add a title icon to every labelled cardDanilo M.1-3/+4
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-18refactor: unify card no-data face and fluid sizingDanilo M.1-14/+2
Extract card.notice so every cached card's no-data state is one fluid, theme-consistent face instead of a copy per widget, and delete the fixed-size card.label it replaces. Derive weather's arc geometry from its band (pad, curve room, sun dot, time labels) instead of fixed pixels, and cap the arc at a proportion of the card's width rather than 240px. Derive disks' bar-fallback height and its address type from the card's own label scale. Standardise the big-value factor to 1.0 across the fit_unit cards and document the big-value colour rule and the disks headline exception.
2026-09-17feat: add the slackware cardDanilo M.1-0/+121
The big value is the time since slackpkg's ChangeLog changed, coloured green under a day, amber to a week, red past it. A cache with no changelog key is a different failure from no cache at all: the sampler ran and the ChangeLog is what was missing, so the rows still draw and only the age reads '--'. Collapsing the two would send the reader to the wrong problem. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>