summaryrefslogtreecommitdiff
path: root/.config/emacs/modules
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/modules')
-rw-r--r--.config/emacs/modules/bd--browse.el9
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"