summaryrefslogtreecommitdiffstats
path: root/.config/emacs/jd
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/jd')
-rw-r--r--.config/emacs/jd/jd-mu4e.el17
1 files changed, 14 insertions, 3 deletions
diff --git a/.config/emacs/jd/jd-mu4e.el b/.config/emacs/jd/jd-mu4e.el
index cc0eb24..0f45f15 100644
--- a/.config/emacs/jd/jd-mu4e.el
+++ b/.config/emacs/jd/jd-mu4e.el
@@ -1,13 +1,14 @@
1(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e") 1(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e")
2 2
3(use-package org-msg) 3(use-package org-msg)
4 4
5(use-package mu4e 5(use-package mu4e
6 :defer 20 6 :defer 10
7 :ensure nil 7 :ensure nil
8 :config 8 :config
9 (require 'org-mu4e) 9 (require 'org-mu4e)
10 10
11 (setq mu4e-mu-binary "/usr/local/bin/mu")
11 (setq mu4e-update-interval (* 10 60)) 12 (setq mu4e-update-interval (* 10 60))
12 (setq mu4e-get-mail-command "mbsync -a") 13 (setq mu4e-get-mail-command "mbsync -a")
13 (setq mu4e-maildir "~/Mail") 14 (setq mu4e-maildir "~/Mail")
@@ -54,12 +55,22 @@
54 smtpmail-smtp-service 465 55 smtpmail-smtp-service 465
55 smtpmail-stream-type 'ssl) 56 smtpmail-stream-type 'ssl)
56 57
58 (setq mu4e-compose-signature (concat
59 "Pozdrawiam,\n"
60 "Jakub Długosz"))
61
57 (mu4e t)) 62 (mu4e t))
58 63
64(use-package mu4e-alert
65 :defer 20
66 :config
67 (mu4e-alert-set-default-style 'libnotify)
68 (mu4e-alert-enable-mode-line-display)
69 (mu4e-alert-enable-notifications))
70
59(jd/leader-key-def 71(jd/leader-key-def
60 "m" '(:ignore t :which-key "mail") 72 "m" '(:ignore t :which-key "mail")
61 "mm" 'mu4e 73 "mm" 'mu4e
62 "mc" 'mu4e-compose-new) 74 "mc" 'mu4e-compose-new)
63 75
64
65(provide 'jd-mu4e) 76(provide 'jd-mu4e)