diff options
author | bd <bdunahu@operationnull.com> | 2025-04-04 00:52:38 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-04 00:52:38 -0400 |
commit | 242908be106e7a00df51e27ea96cd46d672a127b (patch) | |
tree | a296f302c6f1b1722eea5ccfc417146a9279f49d /.config/emacs/modules/bd--browse.el | |
parent | 9a1a2f9792d55332345469973489f34eb76bdd56 (diff) |
Make eww the default browser for bd/selector-search
Diffstat (limited to '.config/emacs/modules/bd--browse.el')
-rw-r--r-- | .config/emacs/modules/bd--browse.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/emacs/modules/bd--browse.el b/.config/emacs/modules/bd--browse.el index 3731b18..2689ac8 100644 --- a/.config/emacs/modules/bd--browse.el +++ b/.config/emacs/modules/bd--browse.el @@ -56,11 +56,11 @@ icecat, or eww." (selector-source-create "Browser" :candidates - (list (bd/search-candidate "SearXNG" "https://searx.operationnull.com/searxng/search?q=" 3) - (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 3) + (list (bd/search-candidate "SearXNG" "https://searx.operationnull.com/searxng/search?q=" 0) + (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 0) (bd/search-candidate "Invidious" "https://inv.nadeko.net/search?q=" 0) - (bd/search-candidate "Urban Dictionary" "https://www.urbandictionary.com/define.php?term=" 2) - (bd/search-candidate "Archwiki" "https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=" 2) + (bd/search-candidate "Urban Dictionary" "https://www.urbandictionary.com/define.php?term=" 0) + (bd/search-candidate "Archwiki" "https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=" 0) (bd/selector-rip) (bd/search-candidate "Web" "" 3)))) @@ -111,10 +111,10 @@ icecat, or eww." (use-package eww :hook ((eww-after-render . (lambda () - (setq-local fill-column-desired-width 90) + (setq-local fill-column-desired-width 120) (fill-column-mode)))) :config - (setopt eww-search-prefix "https://duckduckgo.com/html/?q=" + (setopt eww-search-prefix "https://searx.operationnull.com/searxng/search?q=" eww-auto-rename-buffer 'title eww-use-browse-url (regexp-opt '("mailto:" "youtube.com" |