diff options
author | bd <bdunahu@operationnull.com> | 2025-10-18 01:48:11 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-10-18 01:48:11 -0400 |
commit | 11f293f417e61c1ea9eb970e1b53ec1c0df6b714 (patch) | |
tree | 30fc5bd6e7173136a643931ed1f8d0d50dfe3aee /.config/emacs/modules/bd--browse.el | |
parent | 4c09ef735dd204199e72dab66f2b604856e66a67 (diff) |
Add duckduckgo as source
Diffstat (limited to '.config/emacs/modules/bd--browse.el')
-rw-r--r-- | .config/emacs/modules/bd--browse.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/emacs/modules/bd--browse.el b/.config/emacs/modules/bd--browse.el index 57ace2e..44cb7b9 100644 --- a/.config/emacs/modules/bd--browse.el +++ b/.config/emacs/modules/bd--browse.el @@ -66,10 +66,11 @@ (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 1) (bd/search-candidate "Invidious" "https://inv.nadeko.net/search?q=" 0) (bd/search-candidate "Urban Dictionary" "https://www.urbandictionary.com/define.php?term=" 1) - (bd/search-candidate "Archive of Our Own" "https://archiveofourown.org/works/search?work_search%5Bquery%5D=" 0) + (bd/search-candidate "Archive of Our Own" "https://archiveofourown.org/works/search?work_search%5Bquery%5D=" 0) (bd/search-candidate "Archwiki" "https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=" 0) (bd/selector-rip-video) + (bd/search-candidate "DuckDuckGo" "https://duckduckgo.com/html/?q=" 1) (bd/search-candidate "Web" "" 1)))) (defun bd/browse-dispatcher () @@ -113,13 +114,13 @@ :bind (:map eww-mode-map ("i" . eww-toggle-images) - ("o" . (lambda () (interactive) (rip-html (eww-current-url))))) + ("o" . (lambda () (interactive) (rip-html (eww-current-url))))) :config (setopt eww-search-prefix "https://searx.operationnull.com/searxng/search?q=" eww-auto-rename-buffer 'title eww-browse-url-new-window-is-tab nil - browse-url-browser-function 'bd/browse - browse-url-secondary-browser-function #'browse-url-default-browser + browse-url-browser-function 'bd/browse + browse-url-secondary-browser-function #'browse-url-default-browser eww-header-line-format nil eww-use-browse-url (regexp-opt '("mailto:" "youtube.com" |