forked from colonelpanic/dotfiles
Split mu4e stuff into two launch agents.
This commit is contained in:
parent
87c5ac2c94
commit
5bc269672b
@ -3,18 +3,18 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>org.imalison.mu4e-update-mail</string>
|
||||
<string>org.imalison.mu4e-alerts</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>zsh</string>
|
||||
<string>-c</string>
|
||||
<string>refresh_config && mu4e_update_mail</string>
|
||||
<string>refresh_config && mu4e_update_index_and_alert</string>
|
||||
</array>
|
||||
<key>StartInterval</key>
|
||||
<integer>10</integer>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/tmp/org.imalison.mu4e-update-mail.out</string>
|
||||
<string>/tmp/org.imalison.mu4e-alerts.out</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/tmp/org.imalison.mu4e-update-mail.error</string>
|
||||
<string>/tmp/org.imalison.mu4e-alerts.error</string>
|
||||
</dict>
|
||||
</plist>
|
20
resources/LaunchAgents/org.imalison.mu4e-sync.plist
Normal file
20
resources/LaunchAgents/org.imalison.mu4e-sync.plist
Normal 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>
|
Loading…
Reference in New Issue
Block a user