scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

commit 026bcfc65687ba14299ea2f553940f62388874ce
parent 25461147e74904e566519c87dcb28b3bbf49b127
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 26 Jun 2023 14:58:59 +0200

Changed search engine to startpage

Diffstat:
Mwebsearch | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/websearch b/websearch @@ -3,8 +3,9 @@ # Perform a web search browser=${BROWSER:-firefox} -searchengine="https://duckduckgo.com/?q=" -# For google: https://www.google.com/search?q= +searchengine="https://www.startpage.com/sp/search?query=" +#searchengine="https://duckduckgo.com/?q=" +#searchendinge="https://www.google.com/search?q=" arg=$(echo "$@" | sed 's/ /\+/g') [ -n "$arg" ] && spawn "$browser" "${searchengine}$arg"