mcom blocks mbsync, ncspot without abduco, hide past events in agenda
This commit is contained in:
parent
638eafecf7
commit
e260c8d5cf
2 changed files with 4 additions and 2 deletions
|
@ -16,6 +16,9 @@ ip route ls | grep -q '.'
|
|||
# check if the gpg-agent is running
|
||||
pgrep gpg-agent > /dev/null
|
||||
|
||||
# Don't sync mails while composing
|
||||
if pgrep -f mcom > /dev/null; then exit 1; fi
|
||||
|
||||
# Sync email
|
||||
mbsync -a -q || true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue