configuration/notmuch-hooks/post-new

5 lines
124 B
Bash
Executable File

#!/bin/sh
afew --tag --new
notmuch search tag:unread | cut -d' ' --complement -f1 | xargs -0 --no-run-if-empty notify-send