summaryrefslogtreecommitdiff
path: root/bin/hackvr_uri
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hackvr_uri')
-rwxr-xr-xbin/hackvr_uri7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/hackvr_uri b/bin/hackvr_uri
new file mode 100755
index 0000000..a5bc8c5
--- /dev/null
+++ b/bin/hackvr_uri
@@ -0,0 +1,7 @@
+#!/bin/bash
+#this is a version of hackvr that will attempt to launch URIs that your user actions on.
+hackvr \
+ | tee \
+ >(sed -un "s/$USER *action *<\([^ ]*\)>/\1/p" \
+ | stdbuf -o0 tr '\n' '\0' \
+ | xargs -n1 -0 copy_start_nevermind.sh 2>&1 >/dev/null)