Move away from authsource
This commit is contained in:
parent
664d14e2bb
commit
8dec450394
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
/tree-sitter/
|
/tree-sitter/
|
||||||
/tramp
|
/tramp
|
||||||
/dape-breakpoints
|
/dape-breakpoints
|
||||||
|
/private.el
|
||||||
|
7
init.el
7
init.el
@ -1279,8 +1279,7 @@ If no name is given, list all bookmarks instead."
|
|||||||
(require 'khard)
|
(require 'khard)
|
||||||
|
|
||||||
;; mu4e
|
;; mu4e
|
||||||
(require 'auth-source-pass)
|
(load (expand-file-name "private.el" user-emacs-directory) t)
|
||||||
(auth-source-pass-enable)
|
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:defer nil
|
:defer nil
|
||||||
@ -1323,8 +1322,8 @@ If no name is given, list all bookmarks instead."
|
|||||||
(string-match-p "^/protonmail/"
|
(string-match-p "^/protonmail/"
|
||||||
(mu4e-message-field msg
|
(mu4e-message-field msg
|
||||||
:maildir))))
|
:maildir))))
|
||||||
:vars `((user-mail-address . ,(auth-source-pass-get "email" "emacs/mu4e-protonmail"))
|
:vars `((user-mail-address . ,(alist-get 'email my/mu4e-private-config))
|
||||||
(user-full-name . ,(auth-source-pass-get "name" "emacs/mu4e-protonmail"))
|
(user-full-name . ,(alist-get 'name my/mu4e-private-config))
|
||||||
(message-signature . nil)
|
(message-signature . nil)
|
||||||
(mu4e-refile-folder . "/protonmail/Archive")
|
(mu4e-refile-folder . "/protonmail/Archive")
|
||||||
(mu4e-sent-folder . "/protonmail/Sent")
|
(mu4e-sent-folder . "/protonmail/Sent")
|
||||||
|
Loading…
Reference in New Issue
Block a user