diff options
author | bd <bdunahu@operationnull.com> | 2025-09-01 22:26:44 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-09-01 22:26:44 -0400 |
commit | b1020892d6246476ae8d5b7b21ae51d0184220df (patch) | |
tree | 97efdd463e17e8accfb03915cf81fbfe51b91910 /.config | |
parent | f09448ef11341f8945a90e21bb49903088abb529 (diff) |
Fix secondary browser to be different from primary (M-& works in eww)
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/modules/bd--browse.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/emacs/modules/bd--browse.el b/.config/emacs/modules/bd--browse.el index 4c9c88c..fa91d25 100644 --- a/.config/emacs/modules/bd--browse.el +++ b/.config/emacs/modules/bd--browse.el @@ -13,7 +13,6 @@ icecat, or eww." (pcase pref (0 (eww url)) (_ (start-process "librewolf" nil "librewolf" "--new-window" url)))) -(setopt browse-url-browser-function 'bd/browse) (defun bd/selector-bookmarks () "Selector source for all bookmarks." @@ -65,7 +64,7 @@ icecat, or eww." "Browser" :candidates (list (bd/search-candidate "SearXNG" "https://searx.operationnull.com/searxng/search?q=" 1) - (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 1) + (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=" 0) (bd/search-candidate "Archwiki" "https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=" 0) @@ -119,7 +118,8 @@ icecat, or eww." (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-secondary-browser-function #'bd/browse + 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" |