diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-06-13 22:37:55 +0300 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-06-13 22:37:55 +0300 |
commit | 74c0381f3ab65231296c25ec1c90bbcdf8369c5e (patch) | |
tree | 48a69b505cbbc57a316b4e2827b9ce7ff7eb222b | |
parent | aab5a03fa4ace48fac41399e7ca251464d81ca65 (diff) | |
download | dotfiles-74c0381f3ab65231296c25ec1c90bbcdf8369c5e.tar.gz dotfiles-74c0381f3ab65231296c25ec1c90bbcdf8369c5e.tar.bz2 dotfiles-74c0381f3ab65231296c25ec1c90bbcdf8369c5e.zip |
general cleanup after installing ratpoison 1.4.7
-rwxr-xr-x | mutt/notify.sh | 6 |
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 - |