searx (512B)
1 #!/bin/sh 2 # elvis: searx -- Search my Searx instance (search.alex.balgavy.eu) 3 . surfraw || exit 1 4 5 w3_usage_hook () { 6 cat <<EOF 7 Usage: $w3_argv0 [options] [search words]... 8 Description: 9 Search my Searx instance (search.alex.balgavy.eu) 10 EOF 11 w3_global_usage 12 } 13 14 w3_config 15 w3_parse_args "$@" 16 if test -z "$w3_args"; then 17 w3_browse_url "https://search.alex.balgavy.eu" 18 else 19 escaped_args=`w3_url_of_arg $w3_args` 20 w3_browse_url "https://search.alex.balgavy.eu/searxng/search?q=${escaped_args}" 21 fi