aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-24 21:31:11 +0200
committerAdrian Kummerlaender2020-06-24 21:31:11 +0200
commitd09ce8b96295ccfd4b18fbb8f859f5ccd57fe787 (patch)
tree1aafd15c279c87f381feb3ed9cc9b14973307d2f /gui/conf
parent4855d08a4d62f0c181c8fd67013b2b370e8f8ac7 (diff)
downloadnixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.tar
nixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.tar.gz
nixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.tar.bz2
nixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.tar.lz
nixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.tar.xz
nixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.tar.zst
nixos_home-d09ce8b96295ccfd4b18fbb8f859f5ccd57fe787.zip
Update mu4e mail setup
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index dbcffcc..bf442f1 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -356,15 +356,26 @@
(use-package mu4e
:config
(setq mu4e-maildir "~/mail")
- (setq mu4e-get-mail-command "mbsync -a")
+ (setq mu4e-get-mail-command "true")
+ (setq mu4e-index-cleanup nil)
+ (setq mu4e-index-lazy-check t)
+ (setq mu4e-update-interval 120)
(setq mu4e-use-fancy-chars t)
+ (setq mu4e-headers-attach-mark '("a" . "@")) ; alignment fix
(setq mu4e-change-filenames-when-moving t)
(setq sendmail-program "msmtp"
send-mail-function 'smtpmail-send-it
message-sendmail-f-is-evil t
message-send-mail-function 'message-send-mail-with-sendmail)
(require 'org-mu4e)
- (evil-collection-init 'mu4e))
+ (evil-collection-init 'mu4e)
+ (setq doom-modeline-mu4e t))
+
+(use-package mu4e-alert
+ :ensure t
+ :config
+ (mu4e-alert-set-default-style 'libnotify)
+ (add-hook 'after-init-hook #'mu4e-alert-enable-notifications))
(setq mu4e-contexts
`(,(make-mu4e-context