summaryrefslogtreecommitdiffstats
path: root/spacemacs/.emacs.d/private/aminb
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2016-12-12 14:37:17 -0500
committerAmin Bandali <amin@aminb.org>2016-12-12 14:37:17 -0500
commitf6b1eaf93cbaac4bcef2349fd436b5bdd43a5a23 (patch)
treef717ad9a17a90b715b9041d83f51df4df9441b26 /spacemacs/.emacs.d/private/aminb
parent7acb70d3bf0323a7545ba4b89981d0ffd47a2c7a (diff)
downloadconfigs-f6b1eaf93cbaac4bcef2349fd436b5bdd43a5a23.tar.gz
configs-f6b1eaf93cbaac4bcef2349fd436b5bdd43a5a23.tar.xz
configs-f6b1eaf93cbaac4bcef2349fd436b5bdd43a5a23.zip
Add systemd units for calling mbsync every 5 minutes
To enable: systemctl --user enable mbsync.timer systemctl --user start mbsync.timer Also, use 'pick-first for mu4e-context-policy
Diffstat (limited to 'spacemacs/.emacs.d/private/aminb')
-rw-r--r--spacemacs/.emacs.d/private/aminb/packages.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/spacemacs/.emacs.d/private/aminb/packages.el b/spacemacs/.emacs.d/private/aminb/packages.el
index 36c9400..fb336a3 100644
--- a/spacemacs/.emacs.d/private/aminb/packages.el
+++ b/spacemacs/.emacs.d/private/aminb/packages.el
@@ -141,7 +141,7 @@ erc-modified-channels-alist. Should be executed on window change."
:config
(progn
(setq mu4e-maildir "~/mail"
- mu4e-get-mail-command "mbsync -aq" ;; or fetchmail, or ...
+ mu4e-get-mail-command "mbsync -a" ;; or fetchmail, or ...
mu4e-update-interval 300 ;; update every 5 minutes
mu4e-view-show-addresses t
mu4e-headers-include-related t
@@ -159,6 +159,7 @@ erc-modified-channels-alist. Should be executed on window change."
mu4e-drafts-folder "/amin/Drafts"
mu4e-trash-folder "/amin/Trash"
user-mail-address "amin@aminb.org"
+ mu4e-context-policy 'pick-first
mu4e-contexts
(list (make-mu4e-context
:name "amin"