aboutsummaryrefslogtreecommitdiff
path: root/syncMail.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2021-04-07 20:23:08 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2021-04-07 20:23:08 +0200
commitd8a50709a8dfb0f498367ef80c192138333aa08f (patch)
tree198c9eea86d3dcf23e3729a97ccb6d76e3c0e0cc /syncMail.sh
parentb3017b9ee5fdf4d79b8f3c5253cfd6ec62b31844 (diff)
downloadscripts-d8a50709a8dfb0f498367ef80c192138333aa08f.tar.gz
scripts-d8a50709a8dfb0f498367ef80c192138333aa08f.zip
Updated mail scripts for disroot account.
Diffstat (limited to 'syncMail.sh')
-rwxr-xr-xsyncMail.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/syncMail.sh b/syncMail.sh
index dfc4ee6..fd47994 100755
--- a/syncMail.sh
+++ b/syncMail.sh
@@ -2,7 +2,8 @@
# Calls mbsync (isync binary) to syncronize mailboxes
-pkill -SIGRTMIN+15 i3blocks
+[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+15 "$STATUS_BAR"
mbsync -c ~/.config/isync/gmmbsyncrc -a
mbsync -c ~/.config/isync/uombsyncrc -a
-pkill -SIGRTMIN+15 i3blocks
+mbsync -c ~/.config/isync/drmbsyncrc -a
+[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+15 "$STATUS_BAR"