aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/immich.lua
AgeCommit message (Collapse)AuthorFilesLines
10 daysfeat(immich): mark the big value with a Y ago unitDanilo M.1-4/+19
The years-ago count read as a bare number unless you read the subtitle. It now carries a small Y at its top-right, where a degree sign sits on a temperature, and ago under it on the baseline. The subtitle drops its now redundant "years ago" and keeps only the i/n counter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daysfeat: add an Immich memories card with click and scrollDanilo M.1-0/+164
A centred card showing today's "N years ago" photos from Immich, one at a time on a 30-second rotation, with when each was taken and where. bin/immich-fetch.sh runs from conky's execi every 30 minutes: it asks /api/memories for today, converts each preview to PNG (Cairo loads nothing else) and writes an index with the year, local capture time and place. The place needs the key's asset.read permission and reads '--' without it. The key lives in ~/.config/udt/immich.env, like the weather key, because a GPG-backed store would raise a pinentry unattended. The dashboard now registers lua_mouse_hook and hands pointer events to the widget under the pointer. On this card, scrolling steps through the photos and a left click opens the photo in Immich's web UI and hides the dashboard so the browser is not stuck beneath it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>