summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-06-21 13:59:17 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-06-21 13:59:17 +0100
commit7869d60e105ea8790953fbd807f14125bec96a51 (patch)
tree34f38015816790304d9d18a0320baecc04d5d407 /bin
parent509843cde3ed567baec10525e48bcf819249ba9d (diff)
[bin/mystatus] Do not count RSS in new mails
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/mystatus2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bin/mystatus b/bin/bin/mystatus
index b26e9b6..00c9b9d 100755
--- a/bin/bin/mystatus
+++ b/bin/bin/mystatus
@@ -4,6 +4,6 @@
i3status | while :
do
read line
- nmails=$(find $HOME/.mail -path '*/new/*' -type f | wc -l)
+ nmails=$(find $HOME/.mail -path '*/new/*' -type f -not -path '*/rss/*' | wc -l)
echo "Email: ${nmails} | $line" || exit 1
done