about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-11 22:42:59 -0500
committerCase Duckworth2021-10-11 22:42:59 -0500
commit48e0cd78552b79669a2ffe36c23d02bf123ee73c (patch)
tree50f29f1a1f4d79a7a933f67156f22e6299f4d619
parentConfigure elfeed (diff)
downloademacs-48e0cd78552b79669a2ffe36c23d02bf123ee73c.tar.gz
emacs-48e0cd78552b79669a2ffe36c23d02bf123ee73c.zip
Only update with mu4e if no systemd timer
-rw-r--r--init.el13
1 files changed, 11 insertions, 2 deletions
diff --git a/init.el b/init.el index 8fc23ba..179f078 100644 --- a/init.el +++ b/init.el
@@ -801,7 +801,11 @@ specific to most general, they are these:
801 ("/Trash" . ?t))))))) 801 ("/Trash" . ?t)))))))
802 mu4e-get-mail-command "mbsync -a" 802 mu4e-get-mail-command "mbsync -a"
803 mu4e-maildir "~/mail" 803 mu4e-maildir "~/mail"
804 mu4e-update-interval (* 10 60) 804 mu4e-update-interval (unless (file-exists-p
805 (expand-file-name
806 "systemd/user/mbsync.timer"
807 (getenv "XDG_CONFIG_HOME")))
808 (* 60 5))
805 sendmail-program (seq-some #'executable-find 809 sendmail-program (seq-some #'executable-find
806 '("msmtp" 810 '("msmtp"
807 "sendmail")) 811 "sendmail"))
@@ -1660,7 +1664,12 @@ See also `crux-reopen-as-root-mode'."
1660(setup (:straight-when exec-path-from-shell 1664(setup (:straight-when exec-path-from-shell
1661 (acdw/system :home)) 1665 (acdw/system :home))
1662 (when (daemonp) 1666 (when (daemonp)
1663 (exec-path-from-shell-initialize))) 1667 (exec-path-from-shell-initialize))
1668 (exec-path-from-shell-copy-envs '("XDG_CONFIG_HOME"
1669 "XDG_CONFIG_DIRS"
1670 "XDG_DATA_HOME"
1671 "XDG_DATA_DIRS"
1672 "XDG_CACHE_HOME")))
1664 1673
1665(setup (:straight expand-region) 1674(setup (:straight expand-region)
1666 (:global "C-=" #'er/expand-region)) 1675 (:global "C-=" #'er/expand-region))