Split mu4e stuff into two launch agents.

This commit is contained in:
Ivan Malison 2014-12-31 12:50:29 -05:00
parent 87c5ac2c94
commit 5bc269672b
2 changed files with 24 additions and 4 deletions

View File

@ -3,18 +3,18 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>Label</key> <key>Label</key>
<string>org.imalison.mu4e-update-mail</string> <string>org.imalison.mu4e-alerts</string>
<key>ProgramArguments</key> <key>ProgramArguments</key>
<array> <array>
<string>zsh</string> <string>zsh</string>
<string>-c</string> <string>-c</string>
<string>refresh_config && mu4e_update_mail</string> <string>refresh_config && mu4e_update_index_and_alert</string>
</array> </array>
<key>StartInterval</key> <key>StartInterval</key>
<integer>10</integer> <integer>10</integer>
<key>StandardOutPath</key> <key>StandardOutPath</key>
<string>/tmp/org.imalison.mu4e-update-mail.out</string> <string>/tmp/org.imalison.mu4e-alerts.out</string>
<key>StandardErrorPath</key> <key>StandardErrorPath</key>
<string>/tmp/org.imalison.mu4e-update-mail.error</string> <string>/tmp/org.imalison.mu4e-alerts.error</string>
</dict> </dict>
</plist> </plist>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.imalison.mu4e-sync</string>
<key>ProgramArguments</key>
<array>
<string>zsh</string>
<string>-c</string>
<string>refresh_config && mu4e_sync_command INBOX</string>
</array>
<key>StartInterval</key>
<integer>10</integer>
<key>StandardOutPath</key>
<string>/tmp/org.imalison.mu4e-sync.out</string>
<key>StandardErrorPath</key>
<string>/tmp/org.imalison.mu4e-sync.error</string>
</dict>
</plist>