diff options
Diffstat (limited to '.config/emacs/modules/bd--browse.el')
| -rw-r--r-- | .config/emacs/modules/bd--browse.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/emacs/modules/bd--browse.el b/.config/emacs/modules/bd--browse.el index 25de2b1..7d0b740 100644 --- a/.config/emacs/modules/bd--browse.el +++ b/.config/emacs/modules/bd--browse.el @@ -64,10 +64,11 @@ (selector-source-create "Browser" :candidates - (list (bd/search-candidate "SearXNG" "https://searx.operationnull.com/searxng/search?q=" 'eww) + (list (bd/search-candidate "SearXNG" "https://searx.operationnull.com/searxng/search?q=" 'wolf) (bd/search-candidate "DuckDuckGo" "https://duckduckgo.com/html/?q=" 'eww) - (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 'wolf) - (bd/search-candidate "Invidious" "https://inv.nadeko.net/search?q=" 'wolf) + (bd/search-candidate "SearXNG-E" "https://searx.operationnull.com/searxng/search?q=" 'eww) + (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 'eww) + (bd/search-candidate "Invidious" "https://inv.nadeko.net/search?q=" 'eww) (bd/search-candidate "Urban Dictionary" "https://www.urbandictionary.com/define.php?term=" 'wolf) (bd/search-candidate "Nethack Wiki" "https://nethackwiki.com/w/index.php?search=" 'eww) (bd/search-candidate "Archive of Our Own" "https://archiveofourown.org/works/search?work_search%5Bquery%5D=" 'eww) @@ -123,7 +124,8 @@ ;; eww-mode by default sets this as local var to eww-browse-url ((eww-mode . (lambda () - (setq-local browse-url-browser-function #'bd/browse)))) + (setq-local browse-url-browser-function #'bd/browse))) + (eww-after-render . eww-readable)) :config (setopt eww-search-prefix "https://searx.operationnull.com/searxng/search?q=" eww-auto-rename-buffer 'title |
