From 70557846812df909368476fcd09bf8e8a8cd266b Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 23 Feb 2020 14:29:34 +0100 Subject: sync-mail: fixes, zero-inbox --- sync-mail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-mail b/sync-mail index 78fbc2f..21984a3 100755 --- a/sync-mail +++ b/sync-mail @@ -26,10 +26,10 @@ case `date +"%a"` in esac new="$(find $HOME/.mail/*/inbox/new/ -type f | wc -l)" -old="$(find $HOME/.mail/*/inbox/cur/ -type f | wc -l)" if [ $new -gt 0 ] then + $(which notmuch) new if [[ $(uname) == "Linux" ]]; then export DISPLAY=:0 export XAUTHORITY=$HOME/.Xauthority; -- cgit v1.2.3