summaryrefslogtreecommitdiff
path: root/urilaunch
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-06-30 06:17:49 +0000
committerepoch <epoch@thebackupbox.net>2022-06-30 06:17:49 +0000
commit2e245698850425217aebfbe417f7cd9e87cc5490 (patch)
tree8d094caa55087c01bc862cd37c14e828faadf775 /urilaunch
parentd88e0f03027fd8ab33c822f975b970d522367795 (diff)
downloaduritools-2e245698850425217aebfbe417f7cd9e87cc5490.tar.gz
uritools-2e245698850425217aebfbe417f7cd9e87cc5490.zip
moved stuff from urilaunch to urilist
Diffstat (limited to 'urilaunch')
-rwxr-xr-xurilaunch14
1 files changed, 1 insertions, 13 deletions
diff --git a/urilaunch b/urilaunch
index 5bf5b38..46b6a89 100755
--- a/urilaunch
+++ b/urilaunch
@@ -1,18 +1,6 @@
#!/bin/bash
-#uristart.log /should/ already be uniq'd because of uristart's code now, but might as well not rely on it.
-#you'll probably want to change my gopher-get line to be something useful to you.
-
-### xclip can return nothing and just error out sometimes with:
-### Error: target STRING not available
-
exec copy_start_nevermind.sh \
- "$(cat \
- <(printf "%s\n" "$(xclip -o 2>/dev/null | head -n1)") \
- <(printf "%s\n" "$(xclip -o -selection clipboard 2>/dev/null | head -n1)") \
- <(xdotool getwindowfocus | xargs xwindowURI) \
- <(printf "\n") \
- <(gopher-get gopher://batou/0/links.txt) \
- <(cat ~/.cache/uristart.log | sort | uniq) \
+ "$(urilist \
| choose 'urilaunch>' \
| cut '-d ' -f1
)"