mcom blocks mbsync, ncspot without abduco, hide past events in agenda

This commit is contained in:
Felix Van der Jeugt 2023-01-03 11:09:59 +01:00
parent 638eafecf7
commit e260c8d5cf
2 changed files with 4 additions and 2 deletions

View file

@ -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