Nyxt: Enable invidious-handler.
parent
97fd5d5fe2
commit
ac19fadfe7
|
@ -121,6 +121,8 @@ Recognized formats:
|
||||||
(auto-mode-rules-path
|
(auto-mode-rules-path
|
||||||
(make-instance 'auto-mode-rules-data-path :basename "~/personal/bookmarks/auto-mode-rules.lisp.gpg"))))
|
(make-instance 'auto-mode-rules-data-path :basename "~/personal/bookmarks/auto-mode-rules.lisp.gpg"))))
|
||||||
|
|
||||||
|
(load-system :invidious-handler)
|
||||||
|
|
||||||
(define-configuration web-buffer
|
(define-configuration web-buffer
|
||||||
((default-modes (append
|
((default-modes (append
|
||||||
'(auto-mode
|
'(auto-mode
|
||||||
|
@ -132,8 +134,13 @@ Recognized formats:
|
||||||
%slot-default))
|
%slot-default))
|
||||||
(request-resource-hook
|
(request-resource-hook
|
||||||
(reduce #'hooks:add-hook
|
(reduce #'hooks:add-hook
|
||||||
(list magnet-handler
|
(append
|
||||||
old-reddit-handler)
|
(when (find-package :invidious-handler) ; TODO: Add helper.
|
||||||
|
(list (symbol-value (find-symbol (string 'invidious-handler)
|
||||||
|
(find-package :invidious-handler)))))
|
||||||
|
(list
|
||||||
|
magnet-handler
|
||||||
|
old-reddit-handler))
|
||||||
:initial-value %slot-default))))
|
:initial-value %slot-default))))
|
||||||
|
|
||||||
(defmethod deserialize-eww-bookmarks (stream)
|
(defmethod deserialize-eww-bookmarks (stream)
|
||||||
|
|
Loading…
Reference in New Issue