From e01c26286a18ec9e3b203b3ded104a654e85d12d Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 19 Aug 2022 17:24:03 +0200 Subject: update --- .local/bin/fetch_mail.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.local/bin/fetch_mail.sh') diff --git a/.local/bin/fetch_mail.sh b/.local/bin/fetch_mail.sh index 2c96082..1f2889b 100755 --- a/.local/bin/fetch_mail.sh +++ b/.local/bin/fetch_mail.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -f +set +f set -m export GNUPGHOME=/home/jozan/.local/share/gnupg @@ -14,7 +16,7 @@ else pre_count="$((pre_count + tmp))" fi killall mbsync >/dev/null 2>&1 -notify-send -u low -t 3000 'mbsync' ' fetching mail...' >/dev/null 2>&1 +# notify-send -u low -t 3000 'mbsync' ' fetching mail...' >/dev/null 2>&1 { mbsync -a -c /usr/home/jozan/.config/mbsync/mbsyncrc || notify-send -u low -t 6000 'mbsync' ' failed to fetch mail' >/dev/null 2>&1 -- cgit v1.2.3