summaryrefslogtreecommitdiff
path: root/search
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-01-21 11:41:22 -0600
committerepoch <epoch@hacking.allowed.org>2020-01-21 11:41:22 -0600
commit6e87835d72d85bb7b1603f56c12195c9301da9dd (patch)
treecc6382daf5480da1bf8e02547c3d67b3eb7b595a /search
parent8a43aa89962b78094698ea4014427b313cd7fff8 (diff)
downloaduritools-6e87835d72d85bb7b1603f56c12195c9301da9dd.tar.gz
uritools-6e87835d72d85bb7b1603f56c12195c9301da9dd.zip
added a little script that can be used to launch search URIs easily
Diffstat (limited to 'search')
-rwxr-xr-xsearch2
1 files changed, 2 insertions, 0 deletions
diff --git a/search b/search
new file mode 100755
index 0000000..1c2e67c
--- /dev/null
+++ b/search
@@ -0,0 +1,2 @@
+#!/bin/sh
+uristart "search:?q=$(echo | dmenu -p 'search>' | tr '\n' '\0' | xargs -0 uriescape | sed 's/&/%26/g;s/#/%23/g')"