From 93e56a12d85df2e1aee2af2898728660bbecc6f4 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 9 Jun 2023 19:05:18 +0200 Subject: added my nyxt configs --- .config/nyxt/search-engines.lisp | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .config/nyxt/search-engines.lisp (limited to '.config/nyxt/search-engines.lisp') 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"))))) -- cgit v1.2.3