From 74c0381f3ab65231296c25ec1c90bbcdf8369c5e Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Fri, 13 Jun 2014 22:37:55 +0300 Subject: general cleanup after installing ratpoison 1.4.7 --- mutt/notify.sh | 6 ++++-- 1 file 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 - -- cgit v1.2.3-54-g00ecf