From d28b372fc6a7f4a549687f33ebe4a34b2434ee3f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 10 Apr 2019 19:22:19 -0700 Subject: fix email unread script --- eml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eml') diff --git a/eml b/eml index 8b00b90..9f598a7 100755 --- a/eml +++ b/eml @@ -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" ;; -- cgit v1.2.3