aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/plans/2026-09-13-mail-arrival-notifications.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-13 17:23:49 +0200
committerDanilo M. <danix@danix.xyz>2026-09-13 17:23:49 +0200
commit3df934d85aee0d0db20c0fc522d60b0178f4018a (patch)
tree7bd68b75481e1ec88473832702d62e6251767082 /docs/superpowers/plans/2026-09-13-mail-arrival-notifications.md
parent18735f3771ae335b147b604e25b805f6bb7afd62 (diff)
downloadquickshell-3df934d85aee0d0db20c0fc522d60b0178f4018a.tar.gz
quickshell-3df934d85aee0d0db20c0fc522d60b0178f4018a.zip
feat(mail-overview): notify per account when mail arrives
Asks notmuch what changed since the revision last seen, then sends one notification per account with mail in that window. Counts are validated as integers because a rejected notmuch query prints nothing and exits 1, and an empty string must not read as zero. dunstify is backgrounded because -b blocks until the notification is dismissed, which would otherwise stall the loop for the full timeout on every account. The watch is on the xapian directory rather than a file inside it, because a commit replaces files and a watch held on a filename dies with it.
Diffstat (limited to 'docs/superpowers/plans/2026-09-13-mail-arrival-notifications.md')
0 files changed, 0 insertions, 0 deletions