summaryrefslogtreecommitdiff
path: root/eml
diff options
context:
space:
mode:
Diffstat (limited to 'eml')
-rwxr-xr-xeml2
1 files changed, 1 insertions, 1 deletions
diff --git a/eml b/eml
index 1c66260..8b00b90 100755
--- a/eml
+++ b/eml
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-count=$(notmuch search tag:new | wc -l)
+count=$(notmuch count tag:new)
case "$1" in
-n) [[ $count > 0 ]] && notify-send "New mail" "$count messages" ;;