aboutsummaryrefslogtreecommitdiffstats
path: root/conky.conf.in
AgeCommit message (Collapse)AuthorFilesLines
2026-09-18feat: add a breaktimer cardDanilo M.1-2/+3
Replaces the Waybar module that used to show breaktimer.sh with a card on the dashboard. The card's big value is the phase countdown, coloured by phase with the same language the Waybar module used, and two rows name the phase and what the countdown leads to. Data comes from bin/breaktimer-sample.sh, run by conky at execi 5, which reads the daemon's runtime files into a cache. The sampler owns the kill -0 liveness check, because conky's Lua cannot run a process and a dead daemon must read as 'fermo' rather than a stale 'running'. Drops outside the work-hours window freeze the countdown while the phase stays 'working'. The sampler detects this from the remain file's age and the card reads it as 'outside working hours', which also covers a hung daemon. The phase words and colour roles live in data.breaktimer_parse so they are unit-tested; the card only draws the result.
2026-09-18feat: add a calendar card reading khalDanilo M.1-1/+1
The month grid with the week's appointments below it, colour-coded by calendar. Events come from a cache file rather than a live call: khal costs about 200ms of Python startup, which is two orders of magnitude over the 2-second draw budget, so bin/calendar-sample.sh writes the cache on a 5-minute execi and the widget only parses. Calendar colours are read out of khal's own config by the sampler and mapped onto the board's palette roles, so the card follows a scheme change instead of pinning three literal hues. khal will not emit an ISO date: {start-date} uses the user's dateformat, which carries no year here, and a strftime spec inside the field raises. The sampler asks for {start-date-long} and data.calendar_date recovers the numbers by position, resolving day/month by magnitude and reading a genuinely ambiguous pair day-first. A 2-digit year is refused rather than guessed at. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17feat: put the network and slackware cards on the boardDanilo M.1-1/+1
Placement is provisional: there is no settled arrangement yet. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17docs: correct the system-widget comments and defer the age markerDanilo M.1-2/+3
Fix the conky.conf.in comment to name all three samplers and the README to say the cache sampler runs every 15 minutes. Rewrite the disks layout comment to match per_row = n (no wrapping), drop the stale "seventeenth bar" note, and record in the spec that the cache age marker is deliberately deferred with the epoch-line upgrade path.
2026-09-17feat: add the disks and cache samplersDanilo M.1-1/+1
2026-09-17feat: expose the warning palette roleDanilo M.1-0/+1
2026-09-17feat: add the weather cardDanilo M.1-2/+5
Draws current conditions plus a sunrise-to-sunset arc in widgets/weather.lua, placed at col 2 in dashboard.lua's layout. Schedules the periodic fetch via execi in conky.conf.in, tying refresh to conky's own lifecycle. The no-data env-file probe now closes its handle explicitly: the branch reruns every draw until a fetch succeeds, so an unclosed io.open there would leak one handle per frame. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16fix: draw at monitor size, not a 1200x700 minimumDanilo M.1-2/+7
Hyprland's fullscreen rule resizes the window but not conky's drawing surface, which stays at minimum_width/minimum_height. The dashboard therefore painted its backdrop over roughly the top-left third of the screen and left bare wallpaper beside it, visible as soon as the window rules put it fullscreen on special:dash. Set to the primary monitor, 2560x1080. The grid derives its cells from the surface, so the layout still fills whatever size it is given; only the surface needed to grow. Task 4's development config keeps 1200x700 deliberately: a smaller window is easier to screenshot and compare during that task, and it never runs fullscreen. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16style: drop a duplicated comment line in the templateDanilo M.1-1/+0
An earlier patch left "c8 = 200/255 alpha." on its own line directly above the sentence that already says it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16feat: add the UDT-templated conky configDanilo M.1-0/+46
Same settings as the dev config with the colours as @ROLE@ placeholders, plus @CRITICAL@ for the error overlay, which gen_conky does not substitute yet. The rendered conky.conf is gitignored for the reason UDT ignores its generated files: tracking it turns every scheme switch into a diff. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>