summaryrefslogtreecommitdiff
path: root/bin/hackvr_uri
blob: 7907d9bbeaf38355bc8b8a748b55035e1ca783b6 (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 -r -P 0 -0 copy_start_nevermind.sh 2>&1 >/dev/null)