aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-12 10:03:54 +0200
committerDanilo M. <danix@danix.xyz>2026-09-12 10:03:54 +0200
commit9cf3aaea8cc356a87321f3a8df96fdf68ff921b0 (patch)
tree257c0591e876eddc835f15e7263f9fbb471587f1 /docs
parentc747c95c49e681160da8de7f4fe3eed6adc47bba (diff)
downloadquickshell-9cf3aaea8cc356a87321f3a8df96fdf68ff921b0.tar.gz
quickshell-9cf3aaea8cc356a87321f3a8df96fdf68ff921b0.zip
feat(mail-overview): waybar watcher in continuous mode
Prints one JSON line per notmuch commit rather than polling on an interval, so the count drops the moment mail is read in qtmaildir and rises the moment mbsync commits, and waybar owns the watcher process: nothing to supervise on a machine with no systemd. The watch is on the xapian directory, not on a file inside it, because a commit replaces files and a watch held on a filename dies with it. The short sleep coalesces the several writes of one commit into one redraw. notmuch exits 0 even for a malformed query, printing something that is not a count, so the output is validated as an integer rather than trusting the exit status. A failure there renders as an error glyph: a count that silently reads zero would look exactly like an empty inbox. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWL8JYHu7yhAdtx5pU9PMU
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions