From 466ee41add2f57bc59eca1f7444ad122b97ff974 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Sun, 19 Jul 2015 20:28:05 +0200 Subject: many updates --- mutt/notify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mutt/notify.sh') diff --git a/mutt/notify.sh b/mutt/notify.sh index 4dbc0f6..a628c52 100755 --- a/mutt/notify.sh +++ b/mutt/notify.sh @@ -14,9 +14,9 @@ echo "$1" echo "$1" | grep -q "New" > /dev/null 2>&1 +status=$? -if [ $? -eq 0 ]; -then +if [ $status -eq 0 ];then xset led 1 touch ~/.mutt/newmail else -- cgit v1.2.3-54-g00ecf