diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-18 15:29:35 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-18 15:29:35 +0200 |
| commit | 48fa63ff5d0e12edf86db7f01def635aa0aaa9fb (patch) | |
| tree | 28bdd13bf12cf51464b01975ee4e9eef08596f85 /README.md | |
| parent | e81d0c6f7e975b1b98f1adf84299ba921093d100 (diff) | |
| download | conky-theme-udt-48fa63ff5d0e12edf86db7f01def635aa0aaa9fb.tar.gz conky-theme-udt-48fa63ff5d0e12edf86db7f01def635aa0aaa9fb.zip | |
fix(calendar): mark events past this week on the month grid
The sampler asked khal for 8 days only, so the grid never coloured an
event later in the month. Sample through the month's end instead, and
cut the event table back to the coming week with calendar_upcoming().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -122,7 +122,8 @@ for, including ones with nothing on this week: it is a colour key, not a second list of what is coming. Events come from a cache file written by `bin/calendar-sample.sh`, which shells -out to `khal`. The card shows as many rows as the cell affords and ends with +out to `khal` for the rest of the month (at least 8 days), so the grid marks +every remaining day with an event while the rows stay the coming week. The card shows as many rows as the cell affords and ends with `+N more` when the week does not fit, since a card that silently drops the rest of the week defeats its own purpose. A cell too short for even one row draws the grid alone, without the legend, rather than a clipped half-row. |
