Adapt goimapnotify configuration to YAML
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user