From 47b73144d1b30514df003560851de3bd06e88b81 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 27 Sep 2023 02:10:25 +0300 Subject: [New] Add nyxt, slightly modified config from aartaka --- .config/nyxt/passwd.lisp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .config/nyxt/passwd.lisp (limited to '.config/nyxt/passwd.lisp') diff --git a/.config/nyxt/passwd.lisp b/.config/nyxt/passwd.lisp new file mode 100644 index 0000000..8fc56fe --- /dev/null +++ b/.config/nyxt/passwd.lisp @@ -0,0 +1,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%)))) + -- cgit v1.2.3