diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-30 11:18:32 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-30 11:18:32 +0100 |
| commit | 202995fc8afab753a9e5c441932779c9a5249c96 (patch) | |
| tree | fe051c09097e965c7e49f1ccebce3c270d34b415 /AGENTS.md | |
| parent | 41c503645122f3d2d79ea4a428d6eb72c399c5b5 (diff) | |
| download | deck-it-202995fc8afab753a9e5c441932779c9a5249c96.tar.gz deck-it-202995fc8afab753a9e5c441932779c9a5249c96.zip | |
feat(todo): read the Vikunja token from pass
[todo] pass names the pass entry holding the API token; it is read once
and kept in memory, and read again after Vikunja answers 401. No token
file on disk.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,8 +40,8 @@ Keep the server dependency-free apart from that one package. hyprlock` every 2s and sends the tablet `KEYCODE_SLEEP` on lock and `KEYCODE_WAKEUP` on unlock. (Its Dashboard icons were dropped; the name stays because keystone's module toggle uses it.) -- `todo` reads Vikunja (`[todo] url`, an API token in - `~/.config/deck-it/vikunja-token`) every 60s: open tasks due today or +- `todo` reads Vikunja (`[todo] url`; an API token from `pass show <[todo] + pass>`, kept in memory, read again after a 401) every 60s: open tasks due today or overdue or whose reminder passed (`/api/v2/tasks` filter), minus any with a reminder still ahead, so a snooze hides one until it fires. Actions, for an id the last state listed: `open` (`xdg-open` on the PC, Vikunja's |
