Adapt goimapnotify configuration to YAML

This commit is contained in:
2025-05-09 16:00:14 +02:00
parent 5c326f2e01
commit 1787b7da6a
4 changed files with 26 additions and 31 deletions

View File

@@ -1,11 +1,12 @@
#!/bin/sh
ACCOUNT="$1"
if [ $# -lt 1 ]; then
echo "Usage: mail-sync <account name>"
exit 1
ACCOUNT="-a"
fi
mbsync "$1"
mbsync "$ACCOUNT"
if pgrep -f 'mu server'; then
emacsclient -e '(mu4e-update-index)'
else