summaryrefslogtreecommitdiffstats
path: root/.config/emacs/jd/jd-mu4e.el
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-06-10 09:36:37 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2023-07-02 13:52:12 +0200
commitef565a486511cbbb86e0d1f80264b3b57d2ac88a (patch)
tree4e0b04e78f288985a629ad8b9a8e56eb266de6a4 /.config/emacs/jd/jd-mu4e.el
parent2b62ae597cc6a4c213f7d4b54b112ff9c216dbaa (diff)
downloaddotfiles-ef565a486511cbbb86e0d1f80264b3b57d2ac88a.tar.gz
dotfiles-ef565a486511cbbb86e0d1f80264b3b57d2ac88a.zip
Migrate from .org to .el Emacs config.
Diffstat (limited to '.config/emacs/jd/jd-mu4e.el')
-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)