From ef565a486511cbbb86e0d1f80264b3b57d2ac88a Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sat, 10 Jun 2023 09:36:37 +0200 Subject: Migrate from .org to .el Emacs config. --- .config/emacs/jd/jd-mu4e.el | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to '.config/emacs/jd/jd-mu4e.el') 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 @@ -(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e") +(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/mu4e") (use-package org-msg) (use-package mu4e - :defer 20 + :defer 10 :ensure nil :config (require 'org-mu4e) + (setq mu4e-mu-binary "/usr/local/bin/mu") (setq mu4e-update-interval (* 10 60)) (setq mu4e-get-mail-command "mbsync -a") (setq mu4e-maildir "~/Mail") @@ -54,12 +55,22 @@ smtpmail-smtp-service 465 smtpmail-stream-type 'ssl) + (setq mu4e-compose-signature (concat + "Pozdrawiam,\n" + "Jakub Długosz")) + (mu4e t)) +(use-package mu4e-alert + :defer 20 + :config + (mu4e-alert-set-default-style 'libnotify) + (mu4e-alert-enable-mode-line-display) + (mu4e-alert-enable-notifications)) + (jd/leader-key-def "m" '(:ignore t :which-key "mail") "mm" 'mu4e "mc" 'mu4e-compose-new) - (provide 'jd-mu4e) -- cgit v1.2.3