aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs/2026-10-07-island-core-design.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-07 18:25:02 +0200
committerDanilo M. <danix@danix.xyz>2026-10-07 18:25:02 +0200
commitd0ebda2fb2576544fecb99c5dd1375231ff6514b (patch)
tree5a7b630282e6b9ece678b69776cf5c25141d67c6 /docs/superpowers/specs/2026-10-07-island-core-design.md
parentd52951a31ad8207db6f7dc56ba9e9bc11e3cbe83 (diff)
downloadquickshell-d0ebda2fb2576544fecb99c5dd1375231ff6514b.tar.gz
quickshell-d0ebda2fb2576544fecb99c5dd1375231ff6514b.zip
fix(mail): recount unread when the notmuch database commits
Accounts counted only at shell start and when the mail page opened, so the drawer tile drifted behind the inbox for the rest of the session: it read 14 while notmuch and the waybar pill both said 16. The waybar pill never drifted because waybar-mail.sh watches the database; the drawer had no watcher. Accounts now runs its own inotifywait -m on the xapian directory (the directory, because Xapian replaces files on commit) and refreshes 300ms after a commit burst settles. The watcher respawns after 5s if it exits, since a dead one reproduces the drift with no visible error. This is the prerequisite for removing waybar: the drawer becomes the only place the unread count is shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers/specs/2026-10-07-island-core-design.md')
0 files changed, 0 insertions, 0 deletions