aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-06-13 22:37:55 +0300
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-06-13 22:37:55 +0300
commit74c0381f3ab65231296c25ec1c90bbcdf8369c5e (patch)
tree48a69b505cbbc57a316b4e2827b9ce7ff7eb222b
parentaab5a03fa4ace48fac41399e7ca251464d81ca65 (diff)
downloaddotfiles-74c0381f3ab65231296c25ec1c90bbcdf8369c5e.tar.gz
dotfiles-74c0381f3ab65231296c25ec1c90bbcdf8369c5e.tar.bz2
dotfiles-74c0381f3ab65231296c25ec1c90bbcdf8369c5e.zip
general cleanup after installing ratpoison 1.4.7
-rwxr-xr-xmutt/notify.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/mutt/notify.sh b/mutt/notify.sh
index 91a4612..d8fd6cc 100755
--- a/mutt/notify.sh
+++ b/mutt/notify.sh
@@ -18,8 +18,10 @@ echo "$1" | grep -q "New" > /dev/null 2>&1
if [ $? -eq 0 ];
then
xset led 1
-
+ touch ~/.mutt/newmail
else
xset -led 1
+if [ -e ~/.mutt/newmai ];then
+ rm ~/.mutt/newmail
+fi
fi
-