diff --git a/.gitignore b/.gitignore index 7775240..24a1e8d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /tree-sitter/ /tramp /dape-breakpoints +/private.el diff --git a/init.el b/init.el index c4ca526..cbda448 100644 --- a/init.el +++ b/init.el @@ -1279,8 +1279,7 @@ If no name is given, list all bookmarks instead." (require 'khard) ;; mu4e -(require 'auth-source-pass) -(auth-source-pass-enable) +(load (expand-file-name "private.el" user-emacs-directory) t) (use-package mu4e :ensure nil :defer nil @@ -1323,8 +1322,8 @@ If no name is given, list all bookmarks instead." (string-match-p "^/protonmail/" (mu4e-message-field msg :maildir)))) - :vars `((user-mail-address . ,(auth-source-pass-get "email" "emacs/mu4e-protonmail")) - (user-full-name . ,(auth-source-pass-get "name" "emacs/mu4e-protonmail")) + :vars `((user-mail-address . ,(alist-get 'email my/mu4e-private-config)) + (user-full-name . ,(alist-get 'name my/mu4e-private-config)) (message-signature . nil) (mu4e-refile-folder . "/protonmail/Archive") (mu4e-sent-folder . "/protonmail/Sent")