summaryrefslogtreecommitdiffstats
path: root/.local/bin/fetch_mail.sh
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-08-16 00:01:23 +0200
committerJoe <bousset.rudy@gmail.com>2022-08-16 00:01:23 +0200
commite056ddc2eb1a2cdec7a378bf9756ff6a1c207262 (patch)
tree59d959bddb2346f20abf0d1eabe8950f96bfa48b /.local/bin/fetch_mail.sh
parentAdded tremc config (diff)
downloaddotfiles-bsd-e056ddc2eb1a2cdec7a378bf9756ff6a1c207262.tar.gz
dotfiles-bsd-e056ddc2eb1a2cdec7a378bf9756ff6a1c207262.tar.bz2
dotfiles-bsd-e056ddc2eb1a2cdec7a378bf9756ff6a1c207262.tar.xz
dotfiles-bsd-e056ddc2eb1a2cdec7a378bf9756ff6a1c207262.tar.zst
dotfiles-bsd-e056ddc2eb1a2cdec7a378bf9756ff6a1c207262.zip
update
Diffstat (limited to '.local/bin/fetch_mail.sh')
-rwxr-xr-x.local/bin/fetch_mail.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/fetch_mail.sh b/.local/bin/fetch_mail.sh
index 7e250fc..664663a 100755
--- a/.local/bin/fetch_mail.sh
+++ b/.local/bin/fetch_mail.sh
@@ -1,9 +1,9 @@
#!/bin/sh
+. "$HOME"/.config/env
export GNUPGHOME=/home/jozan/.local/share/gnupg
export PASSWORD_STORE_DIR=/home/jozan/.local/share/pass
killall mbsync >/dev/null 2>&1
notify-send -u low -t 3000 'mbsync' ' fetching mail...' >/dev/null 2>&1
mbsync -q -a -c /usr/home/jozan/.config/mbsync/mbsyncrc || notify-send -u low -t 6000 'mbsync' ' failed to fetch mail' >/dev/null 2>&1
-