From 940517a3af4bc3d9057fce7fd3a791a13b6a16cb Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Sat, 2 Mar 2024 18:28:31 -0500 Subject: [PATCH] Configure pass --- config.org | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 82c392d..5c6bfe3 100644 --- a/config.org +++ b/config.org @@ -893,7 +893,7 @@ direnv lsp magit make -;;pass +pass pdf ;;prodigy ;;rgb @@ -1073,7 +1073,7 @@ I don't want my cache files to get deleted whenever I mess up my Doom install, so let's move them to somewhere more safe. #+begin_src emacs-lisp -(setq auth-sources '("~/.authinfo.gpg") +(setq auth-sources '(password-store "~/.authinfo.gpg") auth-source-cache-expiry nil) #+end_src @@ -2351,6 +2351,25 @@ The calendar's main purpose for me is to give a better view of the [[*Agenda][Or "o c" #'cfw:open-org-calendar) #+end_src +** Password Management + +#+call: confpkg("Pass") + +I use the standard Unix-style password management system, [[https://www.passwordstore.org/][pass]]. + +#+begin_src emacs-lisp +(map! :leader + :desc "Password Store" + "o s" #'pass) + +(after! password-store + (setq pass-show-keybindings nil ; Keybindings take up too much space + pass-suppress-confirmations t ; Quit shouldn't need a confirm step + ) + ;; Move to right side + (set-popup-rule! "^\\*Password-Store" :side 'right :size 0.25 :quit nil)) +#+end_src + * Org #+call: confpkg()