From 7877ae71cb890fb458afa68b71e9ba10abf52392 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 22 Apr 2019 18:28:49 +0200 Subject: Created scripts to handle mail. --- syncMail.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 syncMail.sh (limited to 'syncMail.sh') diff --git a/syncMail.sh b/syncMail.sh new file mode 100755 index 0000000..ecaa05a --- /dev/null +++ b/syncMail.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# Calls mbsync (isync binary) to syncronize mailboxes + +echo "🔃" > /tmp/imapsyncicon +pkill -SIGRTMIN+15 i3blocks +mbsync -c ~/.config/isync/gmmbsyncrc -a +mbsync -c ~/.config/isync/uombsyncrc -a +rm /tmp/imapsyncicon +pkill -SIGRTMIN+15 i3blocks -- cgit v1.2.1