diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-12 09:38:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-12 09:38:16 +0200 |
| commit | 31b5963b92c84b6ca94d2e438769654226dd64af (patch) | |
| tree | b32b930e005417499345ba37122e2391d4ce6887 /README.md | |
| parent | f909b171956f280e80842191fa1c46bc4b5a282d (diff) | |
| download | quickshell-31b5963b92c84b6ca94d2e438769654226dd64af.tar.gz quickshell-31b5963b92c84b6ca94d2e438769654226dd64af.zip | |
docs: design for mail-overview, a notmuch mail drawer
Replaces three waybar modules that each poll the Gmail API through a python
script with its own credentials file, cover three of five accounts, and open
Thunderbird. Everything they fetch over the network is already in the local
notmuch index, tagged per account.
Two decisions carry most of the design. Counts are scoped to
"tag:unread and tag:inbox" rather than plain "tag:unread", which for one
account is the difference between 32 and 41, because the inbox number is the
one that means new mail worth looking at. And the waybar module runs in
continuous mode with an inotifywait loop, so waybar owns the watcher process
and there is no daemon to supervise on a machine with no systemd; the watch is
on the xapian directory rather than on named files because a commit replaces
them, which breaks a watch held on a file.
The account list is not in the component. qtmaildir.conf already has one
[account.<key>] section per account, where <key> is the notmuch tag suffix,
carrying a display label and a colour, so the panel parses that and a new
account appears without touching QML.
Thread level actions are out of scope because they are blocked rather than
deferred: qtmaildir takes no arguments, so nothing can tell it which thread
to open.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWL8JYHu7yhAdtx5pU9PMU
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
