diff --git a/dotfiles/lib/mu4e_sync.sh b/dotfiles/lib/mu4e_sync.sh index 6273d98f..2764429d 100755 --- a/dotfiles/lib/mu4e_sync.sh +++ b/dotfiles/lib/mu4e_sync.sh @@ -1,3 +1,3 @@ #!/usr/bin/env zsh refresh_config -update_mail +mu4e_sync_command diff --git a/resources/LaunchAgents/org.imalison.mu4e-sync.plist b/resources/LaunchAgents/org.imalison.mu4e-sync.plist index e987397d..30ed4dd4 100644 --- a/resources/LaunchAgents/org.imalison.mu4e-sync.plist +++ b/resources/LaunchAgents/org.imalison.mu4e-sync.plist @@ -6,12 +6,10 @@ org.imalison.mu4e-sync ProgramArguments - zsh - -c - refresh_config && mu4e_sync_command INBOX + ~/.lib/mu4e_sync.sh StartInterval - 10 + 30 StandardOutPath /tmp/org.imalison.mu4e-sync.out StandardErrorPath