diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-06-09 19:05:18 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-06-09 19:05:18 +0200 |
| commit | 93e56a12d85df2e1aee2af2898728660bbecc6f4 (patch) | |
| tree | f1ad25786f0ae961691e5b32a0fe72a2ce8a8849 /.config/nyxt/search-engines.lisp | |
| parent | 70980c2c53e9fc3cadd2f6eacd085dc0297f65b6 (diff) | |
added my nyxt configs
Diffstat (limited to '.config/nyxt/search-engines.lisp')
| -rw-r--r-- | .config/nyxt/search-engines.lisp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/.config/nyxt/search-engines.lisp b/.config/nyxt/search-engines.lisp new file mode 100644 index 0000000..718ab11 --- /dev/null +++ b/.config/nyxt/search-engines.lisp @@ -0,0 +1,45 @@ +(in-package #:nyxt-user) + +(defvar *duckduckgo-keywords* + '(:theme :dark + :help-improve-duckduckgo nil + :homepage-privacy-tips nil + :privacy-newsletter nil + :newsletter-reminders nil + :install-reminders nil + :install-duckduckgo nil + :units-of-measure :metric + :keyboard-shortcuts t + :advertisements nil + :open-in-new-tab nil + :infinite-scroll t + :safe-search :off + :font-size :medium + :header-behavior :on-fixed + :font :helvetica + :background-color "000000") + "My DDG settings, shared between the usual, image-search and other +types of DuckDuckGo.") + +(define-configuration (buffer web-buffer) + ((search-engines (list (engines:duckduckgo-html-only :shortcut "dho") + (apply #'engines:duckduckgo + :shortcut "d" *duckduckgo-keywords*) + (apply #'engines:duckduckgo-images + :shortcut "i" *duckduckgo-keywords*) + (make-instance 'search-engine + :shortcut "aw" + :search-url "https://wiki.archlinux.org/index.php?search=~a&title=Special%3ASearch&fulltext=Search" + :fallback-url "https://wiki.archlinux.org") + (make-instance 'search-engine + :shortcut "gen" + :search-url "https://wiki.gentoo.org/index.php?title=Sepcial%3ASearch&search=~a&go=Go" + :fallback-url "https://wiki.gentoo.org") + (make-instance 'search-engine + :shortcut "lbx" + :search-url "https://search.cafebabe.gay/search.php?q=~a" + :fallback-url "https://search.cafebabe.gay") + (engines:invidious + :shortcut "yt" + :base-search-url "https://invidious.cafebabe.gay/search?q=~a" + :fallback-url "https://invidious.cafebabe.gay"))))) |
