configuration/notmuch-hooks/post-new

6 lines
157 B
Plaintext
Raw Normal View History

2017-04-27 18:51:18 +02:00
#!/bin/sh
2019-03-11 10:52:20 +01:00
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