diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-13 17:23:49 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-13 17:23:49 +0200 |
| commit | 3df934d85aee0d0db20c0fc522d60b0178f4018a (patch) | |
| tree | 7bd68b75481e1ec88473832702d62e6251767082 /vm-manager/VmPanel.qml | |
| parent | 18735f3771ae335b147b604e25b805f6bb7afd62 (diff) | |
| download | quickshell-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 'vm-manager/VmPanel.qml')
0 files changed, 0 insertions, 0 deletions
