diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 13:33:14 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 13:33:14 +0200 |
| commit | 9624351d80ace747d3117fb22d6cbd00fce3eedf (patch) | |
| tree | f9adc0a04445718d2d2b5e1b659b00fb8373c73c /immich.env.example | |
| parent | 272c5732b0bc932749f0e771de51ee49f6cebe5b (diff) | |
| download | conky-theme-udt-9624351d80ace747d3117fb22d6cbd00fce3eedf.tar.gz conky-theme-udt-9624351d80ace747d3117fb22d6cbd00fce3eedf.zip | |
feat: add an Immich memories card with click and scroll
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>
Diffstat (limited to 'immich.env.example')
| -rw-r--r-- | immich.env.example | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/immich.env.example b/immich.env.example new file mode 100644 index 0000000..9bbab18 --- /dev/null +++ b/immich.env.example @@ -0,0 +1,10 @@ +# Copy to ~/.config/udt/immich.env and fill in. That path is outside this +# repo on purpose: it holds a key, and anything committed is potentially +# public. chmod 600 it. +# +# Create the key in Immich under Account Settings > API Keys with the +# memory.read and asset.view permissions. Add asset.read to show where each +# photo was taken; without it the card shows the photo and date only. + +URL=http://immich.example.org:2283 +KEY=your_immich_api_key_here |
