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