nyxt: add atlas SearXNG instance back as default search engine

ddg tracking links for html/lite don't work without javascript
This commit is contained in:
Evie Litherland-Smith 2024-02-01 06:31:55 +00:00
parent 153df20a46
commit 1ead9fa26b

View file

@ -9,24 +9,26 @@
(define-configuration context-buffer (define-configuration context-buffer
((search-engines (list ((search-engines (list
(make-instance (make-instance 'search-engine
'search-engine :name "Wikipedia"
:name "Wikipedia" :shortcut "wiki"
:shortcut "wiki" :search-url "https://en.wikipedia.org/w/index.php?search=~a"
:search-url "https://en.wikipedia.org/w/index.php?search=~a" :fallback-url (quri.uri:uri "https://en.wikipedia.org/"))
:fallback-url (quri.uri:uri "https://en.wikipedia.org/")) (make-instance 'search-engine :name "MyNixOS"
(make-instance :shortcut "mn"
'search-engine :search-url "https://mynixos.com/search?q=~a"
:name "MyNixOS" :fallback-url (quri.uri:uri "https://mynixos.com/"))
:shortcut "mn" (make-instance 'search-engine
:search-url "https://mynixos.com/search?q=~a" :name "DuckDuckGo"
:fallback-url (quri.uri:uri "https://mynixos.com/")) :shortcut "ddg"
(make-instance :search-url "https://html.duckduckgo.com/html/?q=~a"
'search-engine :fallback-url (quri.uri:uri "https://html.duckduckgo.com/html/"))
:name "DuckDuckGo" (make-instance 'search-engine
:shortcut "ddg" :name "Atlas SearXNG instance"
:search-url "https://html.duckduckgo.com/html/?q=~a" :shortcut "a"
:fallback-url (quri.uri:uri "https://html.duckduckgo.com/html/")))))) :search-url
"https://search.atlas.engineer/searxng/search?q=~a"
:fallback-url (quri.uri:uri "https://search.atlas.engineer"))))))
(define-configuration browser (define-configuration browser
((restore-session-on-startup-p nil) ((restore-session-on-startup-p nil)