diff options
author | bd <bdunahu@operationnull.com> | 2025-10-12 19:57:04 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-10-12 19:57:04 -0400 |
commit | 3e5b315a3fde9a68f421b1974ab3505300efed52 (patch) | |
tree | a6a77c71845a6ecfe2042b779e5a8dbb0858ec7a /.config/emacs/modules/bd--browse.el | |
parent | 29a7837a16dde944cc777fbb5b0dd41175e5cf84 (diff) |
accommodate some shitty sites with a JS-capable browser
Diffstat (limited to '.config/emacs/modules/bd--browse.el')
-rw-r--r-- | .config/emacs/modules/bd--browse.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.config/emacs/modules/bd--browse.el b/.config/emacs/modules/bd--browse.el index fa91d25..8bb828e 100644 --- a/.config/emacs/modules/bd--browse.el +++ b/.config/emacs/modules/bd--browse.el @@ -7,12 +7,11 @@ (require 'fill-column) (defun bd/browse (url &optional pref &rest _) - "Given PREF, launches URL in one of librewolf, torbrowser, -icecat, or eww." + "Given PREF, launches URL in an external browser or eww." (interactive) (pcase pref (0 (eww url)) - (_ (start-process "librewolf" nil "librewolf" "--new-window" url)))) + (_ (start-process "browser" nil "librewolf" "--new-window" url)))) (defun bd/selector-bookmarks () "Selector source for all bookmarks." @@ -64,9 +63,9 @@ 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=" 0) + (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=" 0) + (bd/search-candidate "Urban Dictionary" "https://www.urbandictionary.com/define.php?term=" 1) (bd/search-candidate "Archwiki" "https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=" 0) (bd/selector-rip-video) |