summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2020-04-18 07:41:13 +0000
committerepoch <epoch@hack.thebackupbox.net>2020-04-18 07:41:13 +0000
commit94152f565c1fec8395ebbdac055c39a1df5915ee (patch)
tree54bf05ae48a6548fcb91966e9debd0319a5ce4a0 /bin
parent6894e26fc16f9cac90ef5ea6b547618f70b0edc9 (diff)
parent5417ee3aacf64d3b3b164ba2a529daacb101ebb9 (diff)
downloadhackvr-94152f565c1fec8395ebbdac055c39a1df5915ee.tar.gz
hackvr-94152f565c1fec8395ebbdac055c39a1df5915ee.zip
Merge branch 'master' of /var/git/hackvr
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hackvr_uri4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/hackvr_uri b/bin/hackvr_uri
index 7907d9b..19c0f37 100755
--- a/bin/hackvr_uri
+++ b/bin/hackvr_uri
@@ -1,6 +1,8 @@
#!/bin/bash
#this is a version of hackvr that will attempt to launch URIs that your user actions on.
-hackvr \
+set -o pipefail
+tee --output-error=exit /dev/stderr | hackvr \
+ | grep --line-buffered -v '^#' \
| tee \
>(sed -un "s/$USER *action *<\([^ ]*\)>/\1/p" \
| stdbuf -o0 tr '\n' '\0' \