diff options
Diffstat (limited to 'config/notmuch/hooks/post-new')
| -rwxr-xr-x | config/notmuch/hooks/post-new | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/notmuch/hooks/post-new b/config/notmuch/hooks/post-new new file mode 100755 index 0000000..05250e4 --- /dev/null +++ b/config/notmuch/hooks/post-new @@ -0,0 +1,3 @@ +#!/bin/sh +test $(notmuch search tag:new | wc -l) -gt 0 && notify-send notmuch "new mail" +notmuch tag -new tag:new |
