summaryrefslogtreecommitdiffstats
path: root/.local/bin/fetch_mail.sh
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-19 17:24:03 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-19 17:24:03 +0200
commite01c26286a18ec9e3b203b3ded104a654e85d12d (patch)
tree0415c6095f94ebf4f6cde7714ecf8d8c29988ef3 /.local/bin/fetch_mail.sh
parentupdate (diff)
downloaddotfiles-bsd-e01c26286a18ec9e3b203b3ded104a654e85d12d.tar.gz
dotfiles-bsd-e01c26286a18ec9e3b203b3ded104a654e85d12d.tar.bz2
dotfiles-bsd-e01c26286a18ec9e3b203b3ded104a654e85d12d.tar.xz
dotfiles-bsd-e01c26286a18ec9e3b203b3ded104a654e85d12d.tar.zst
dotfiles-bsd-e01c26286a18ec9e3b203b3ded104a654e85d12d.zip
update
Diffstat (limited to '.local/bin/fetch_mail.sh')
-rwxr-xr-x.local/bin/fetch_mail.sh4
1 files changed, 3 insertions, 1 deletions
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