summaryrefslogtreecommitdiff
path: root/urilaunch
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2021-10-30 00:27:43 +0000
committerepoch <epoch@hack.thebackupbox.net>2021-10-30 00:27:43 +0000
commit3c5cd5e68278f82cc071623419e1a205c6fee38b (patch)
tree72d8dc4493e399d7ea6cc094826e527ef9e4c564 /urilaunch
parent62817acef7618bd5d6e77ffabb39aabe33f5a37c (diff)
parentc38649558142ee7a02c176f373120f417633b022 (diff)
downloaduritools-3c5cd5e68278f82cc071623419e1a205c6fee38b.tar.gz
uritools-3c5cd5e68278f82cc071623419e1a205c6fee38b.zip
Merge branch 'master' of ssh://git.thebackupbox.net/uritools
Diffstat (limited to 'urilaunch')
-rwxr-xr-xurilaunch6
1 files changed, 4 insertions, 2 deletions
diff --git a/urilaunch b/urilaunch
index 88b2a40..fc15323 100755
--- a/urilaunch
+++ b/urilaunch
@@ -3,10 +3,12 @@
#you'll probably want to change my gopher-get line to be something useful to you.
exec copy_start_nevermind.sh \
"$(cat \
- <(printf "%s\n" $(xclip -o | head -n1)) \
+ <(printf "%s\n" "$(xclip -o | head -n1)") \
+ <(printf "%s\n" "$(xclip -o -selection clipboard | head -n1)") \
+ <(xdotool getwindowfocus | xargs xwindowURI) \
<(printf "\n") \
<(gopher-get gopher://batou/0/links.txt) \
<(cat ~/.cache/uristart.log | sort | uniq) \
- | dmenu -l 10 -p urilaunch\> \
+ | choose 'urilaunch>' \
| cut '-d ' -f1
)"