From 202995fc8afab753a9e5c441932779c9a5249c96 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 30 Nov 2026 11:18:32 +0100 Subject: 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 --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 8cbfc48..5b8d82a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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 -- cgit v1.2.3