~ben/bin

d28b372fc6a7f4a549687f33ebe4a34b2434ee3f — Ben Sima 11 months ago 60d5cb2
fix email unread script
1 files changed, 1 insertions(+), 1 deletions(-)

M eml
M eml => eml +1 -1
@@ 1,6 1,6 @@
#!/usr/bin/env bash

count=$(notmuch count tag:new)
count=$(notmuch count tag:inbox and tag:unread)

case "$1" in
    -n) [[ $count > 0 ]] && notify-send "New mail" "$count messages" ;;