nyxt search engine config

Remove atlas search so duckduckgo is now the default

Disable pre-fetching suggestions as I'm pretty sure that was the cause
of it regularly freezing
This commit is contained in:
Evie Litherland-Smith 2023-11-07 10:20:51 +00:00
parent e0604444cf
commit 00fec45a37

View file

@ -6,4 +6,18 @@
((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%)))) ((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
(define-configuration web-buffer (define-configuration web-buffer
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%)))) ((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))))
(define-configuration context-buffer
((search-engines (list
(make-instance 'search-engine
:name "Wikipedia"
:shortcut "wiki"
:search-url "https://en.wikipedia.org/w/index.php?search=~a"
:fallback-url (quri.uri:uri "https://en.wikipedia.org/"))
(make-instance 'search-engine
:name "DuckDuckGo"
:shortcut "ddg"
:search-url
"https://duckduckgo.com/?q=~a"
:fallback-url
(quri.uri:uri "https://duckduckgo.com/"))))))
(load "~/.config/nyxt/theme.lisp") (load "~/.config/nyxt/theme.lisp")