aboutsummaryrefslogtreecommitdiffstats
path: root/urilaunch
diff options
context:
space:
mode:
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
)"