configuration/notmuch-hooks/post-new
2019-06-03 10:39:49 +02:00

7 lines
194 B
Bash
Executable File

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