From af941776f4273fedfc6680bc72a5cb9616d96fba Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 3 Jan 2015 12:52:01 -0800 Subject: [PATCH] update mu4e_sync.sh, use in plist. --- dotfiles/lib/mu4e_sync.sh | 2 +- resources/LaunchAgents/org.imalison.mu4e-sync.plist | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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