X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/ce72f966bd3d133fa69491cb7286e4f0f12c2ae1..9fc30d4c309798172566b38aae0151da1d555379:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c1e6bcc..f5e87ec 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -295,7 +295,19 @@ For disabling the behaviour for certain buffers and/or modes." :config (pixel-scroll-mode 1)) ;; ask for GPG passphrase in minibuffer -(setq epg-pinentry-mode 'loopback) +(use-feature epg-config + :defer 0.4 + :custom + ((epg-gpg-program (executable-find "gpg")) + (epg-pinentry-mode 'loopback))) +(use-feature epg + :after epg-config) +(use-package pinentry + :demand + :after (epg server) + :config + (setq pinentry--socket-dir server-socket-dir) + (pinentry-start)) ;; useful libraries (require 'cl-lib) @@ -1631,6 +1643,11 @@ For disabling the behaviour for certain buffers and/or modes." ("s-K" . windmove-swap-states-up) ("s-L" . windmove-swap-states-right))) +(use-package pass + :commands pass + :bind ("C-c a p" . pass) + :hook (pass-mode . View-exit)) + ;;; Email (with Gnus) @@ -1900,15 +1917,15 @@ For disabling the behaviour for certain buffers and/or modes." (defvar mab/signature "Amin Bandali Free Software Activist | GNU Webmaster & Volunteer GPG: BE62 7373 8E61 6D6D 1B3A 08E8 A21A 0202 4881 6103 -https://shemshak.org/~amin") +https://shemshak.org/~amin/") (defvar mab/uw-signature "Amin Bandali, MMath Student Cheriton School of Computer Science University of Waterloo -https://shemshak.org/~amin") +https://shemshak.org/~amin/") (defvar mab/csc-signature "Amin Bandali Termcom, Computer Science Club University of Waterloo -https://shemshak.org/~amin") +https://shemshak.org/~amin/") (setq gnus-posting-styles '((".*" (address "amin@shemshak.org")