From 9b0d08eb1cbf4994c1997208c156b95800714c77 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 21 Oct 2025 10:27:36 -0400 Subject: add torbrowser --- .config/emacs/modules/bd--browse.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.config/emacs') diff --git a/.config/emacs/modules/bd--browse.el b/.config/emacs/modules/bd--browse.el index 44cb7b9..3cd8af8 100644 --- a/.config/emacs/modules/bd--browse.el +++ b/.config/emacs/modules/bd--browse.el @@ -11,6 +11,7 @@ (interactive) (pcase pref (0 (eww url)) + (1 (start-process "torbrowser" nil "torbrowser" "--new-window" url)) (_ (start-process "browser" nil "librewolf" "--new-window" url)))) (defun bd/selector-bookmarks () @@ -62,16 +63,16 @@ (selector-source-create "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) + (list (bd/search-candidate "SearXNG" "https://searx.operationnull.com/searxng/search?q=" 2) + (bd/search-candidate "Wikipedia" "https://en.wikipedia.org/w/index.php?search=" 2) (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 "Urban Dictionary" "https://www.urbandictionary.com/define.php?term=" 2) (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)))) + (bd/search-candidate "DuckDuckGo" "https://duckduckgo.com/html/?q=" 2) + (bd/search-candidate "Web" "" 2)))) (defun bd/browse-dispatcher () "Select and `browse-url' a bookmark or search feature." -- cgit v1.2.3