diff options
author | dweller <dweller@cabin.digital> | 2025-01-16 17:18:45 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2025-01-16 17:18:45 +0200 |
commit | 449c078661046665ba0cc87a0f632085a77df8a5 (patch) | |
tree | f28f961cf2c07e37fb77e34a882e5ba87e411eb3 /examples/search.sh |
Diffstat (limited to 'examples/search.sh')
-rwxr-xr-x | examples/search.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/search.sh b/examples/search.sh new file mode 100755 index 0000000..ab4cca2 --- /dev/null +++ b/examples/search.sh @@ -0,0 +1,6 @@ +#!/bin/sh -e + +BROWSER=${BROWSER:-w3m} +URL="https://html.duckduckgo.com/html/?q=" + +$BROWSER "${URL}$(urlenc "$@")" |