]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Switch to pinentry-fltk
[config.org.git] / config.org
index 43e7c29798be8cb222aa6931e5a1a4cf191126f6..b1cf44d1e160f99f6bf4ead7cf9b4a3541e43789 100644 (file)
@@ -113,14 +113,16 @@ Show current column and file size.
   (use-package minions
     :config (minions-mode))
 #+end_src
-** Ruler
-Show a ruler at a certain number of chars depending on mode.
+** Whitespace mode
+Highlight whitespace and other bad text practices.
 #+begin_src emacs-lisp
-  (setq display-fill-column-indicator-column 80)
-  (global-display-fill-column-indicator-mode)
+  (use-package whitespace
+    :custom (whitespace-style '(face lines-tail)))
+  (dolist (hook '(prog-mode-hook))
+    (add-hook hook (lambda () (whitespace-mode 1))))
 #+end_src
 ** Highlight todo items in comments
-#+begin_src emacs-lisp
++begin_src emacs-lisp
   (use-package hl-todo
     :straight (hl-todo :type git :host github :repo "tarsius/hl-todo")
     :config (global-hl-todo-mode 1))
@@ -1250,7 +1252,7 @@ I use tmux in order to keep my st build light. Still learning how it works.
 #+end_src
 *** Agent
 #+begin_src conf :tangle ~/.gnupg/gpg-agent.conf
-  pinentry-program /sbin/pinentry-gnome3
+  pinentry-program /sbin/pinentry-fltk
   max-cache-ttl 600
   default-cache-ttl 600
   allow-emacs-pinentry