Add all of my custom search engines to nyxt
This commit is contained in:
parent
1d322d3940
commit
e442f22066
|
@ -37,21 +37,26 @@
|
||||||
:name "email"
|
:name "email"
|
||||||
:fill "evie@xenia.me.uk")))))
|
:fill "evie@xenia.me.uk")))))
|
||||||
|
|
||||||
;; (defvar *my-search-engines*
|
(defvar *my-search-engines*
|
||||||
;; (list
|
(list
|
||||||
;; '("google" "https://google.com/search?q=~a" "https://google.com")
|
'("rust" "https://doc.rust-lang.org/std/index.html?search=~a" "https://doc.rust-lang.org/std/index.html")
|
||||||
;; '("python3" "https://docs.python.org/3/search.html?q=~a"
|
'("crates" "https://crates.io/search?q=~a" "https://crates.io/")
|
||||||
;; "https://docs.python.org/3")
|
'("python" "https://docs.python.org/3/search.html?q=~a" "https://docs.python.org/3")
|
||||||
;; '("doi" "https://dx.doi.org/~a" "https://dx.doi.org/"))
|
'("pypi" "https://pypi.org/search/?q=~a" "https://pypi.org/")
|
||||||
;; "List of search engines.")
|
'("mynix" "https://mynixos.com/search?q=~a" "https://mynixos.com/")
|
||||||
|
'("nixwiki" "https://nixos.wiki/index.php?search=~a&go=Go" "https://nixos.wiki/")
|
||||||
|
'("archwiki" "https://wiki.archlinux.org/index.php?search=~a" "https://wiki.archlinux.org/")
|
||||||
|
'("github" "https://github.com/search?utf8=✓&q=~a&type=repositories" "https://github.com/")
|
||||||
|
'("doi" "https://dx.doi.org/~a" "https://dx.doi.org/")
|
||||||
|
'("wiki" "https://en.wikipedia.org/w/index.php?search=~a" "https://en.wikipedia.org/")
|
||||||
|
'("ddg" "https://duckduckgo.com/?q=~a" "https://duckduckgo.com/"))
|
||||||
|
"List of search engines.")
|
||||||
|
|
||||||
;; (define-configuration context-buffer
|
(define-configuration context-buffer
|
||||||
;; "Go through the search engines above and make-search-engine out of them."
|
"Go through the search engines above and make-search-engine out of them."
|
||||||
;; ((search-engines
|
((search-engines
|
||||||
;; (append
|
(mapcar (lambda (engine) (apply 'make-search-engine engine))
|
||||||
;; (mapcar (lambda (engine) (apply 'make-search-engine engine))
|
*my-search-engines*))))
|
||||||
;; *my-search-engines*)
|
|
||||||
;; %slot-default%))))
|
|
||||||
|
|
||||||
(define-configuration browser
|
(define-configuration browser
|
||||||
((restore-session-on-startup-p nil)))
|
((restore-session-on-startup-p nil)))
|
||||||
|
|
Loading…
Reference in a new issue