summaryrefslogtreecommitdiff
path: root/bin/hackvr_uri
blob: a5bc8c5ab4edc3d3c5b9920c10eac497e83188aa (plain) (blame)
1
2
3
4
5
6
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)