Nyxt: Init config.lisp.

master
Pierre Neidhardt 2020-11-04 12:55:13 +01:00
parent 74cff436d2
commit eba0ac1820
2 changed files with 8 additions and 1 deletions

4
.config/nyxt/config.lisp Normal file
View File

@ -0,0 +1,4 @@
(define-configuration web-buffer
((request-resource-hook
(reduce #'hooks:add-hook *my-request-resource-handlers*
:initial-value %slot-default))))

View File

@ -257,7 +257,7 @@ format."
(define-configuration window
((status-formatter #'my-format-status)))
(load-after-system :slynk "/home/ambrevar/dotfiles/.config/nyxt/slynk.lisp")
(load-after-system :slynk (nyxt-init-file "slynk.lisp"))
(defvar +dev-data-profile+ (make-instance 'data-profile :name "dev")
"Development profile.")
@ -267,3 +267,6 @@ format."
(expand-default-path (make-instance (class-name (class-of path))
:basename (basename path)
:dirname "/tmp/nyxt/")))
;; After init:
(load (nyxt-init-file "config.lisp"))