From fe054f7d5f4ffe6f6bf3121e821b7783c93d9ee2 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 20 Jan 2016 18:52:36 +0000 Subject: Send notification when new mail arrives --- bin/email | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/email b/bin/email index 738efbb..1d51ef8 100755 --- a/bin/email +++ b/bin/email @@ -4,7 +4,7 @@ while true; do mbsync -a nmails=$(find $HOME/.mail -path '*/new/*' -type f | wc -l) - [[ nmails -ge 1 ]] && notify-send "New mail!" + [[ nmails -ge 1 ]] && notify-send -t 1 "New mail!" date sleep 5m done -- cgit v1.2.3