summaryrefslogtreecommitdiff
path: root/.config/nyxt/passwd.lisp
blob: 8fc56fecbbb9c58e1909ec799b42e3b7637595c9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(in-package #:nyxt-user)

(defmethod initialize-instance :after ((interface password:keepassxc-interface) &key &allow-other-keys)
  "I use KeePassXC, and this simply sets the location of the password files."
  (setf (password:password-file interface) "/home/aartaka/Documents/p.kdbx"))

(define-configuration :password-mode
  "This is to emphasize that I use KeePassXC.
Nyxt is (was?) not always smart enough to guess that."
  ((password-interface (make-instance 'password:keepassxc-interface))))

(define-configuration :buffer
  ((default-modes (append `(:password-mode) %slot-value%))))