summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/clock/run
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-02-11 23:22:10 -0600
committerepoch <epoch@hacking.allowed.org>2020-02-11 23:22:10 -0600
commit41ab840ce392aa951bbd86f3ae902523296b3819 (patch)
tree7934d5b11d942ab8f856d3d3c11c5861640b2648 /share/hackvr/examples/clock/run
parent4e72a56355b49d324aad672ea9efc6ff4064b449 (diff)
downloadhackvr-41ab840ce392aa951bbd86f3ae902523296b3819.tar.gz
hackvr-41ab840ce392aa951bbd86f3ae902523296b3819.zip
added another example of a clock that uses nonblocktail
Diffstat (limited to 'share/hackvr/examples/clock/run')
-rwxr-xr-xshare/hackvr/examples/clock/run7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/hackvr/examples/clock/run b/share/hackvr/examples/clock/run
new file mode 100755
index 0000000..1341b89
--- /dev/null
+++ b/share/hackvr/examples/clock/run
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+nonblocktail \
+ <(echo $USER move 0 0 -30) \
+ <(./generate.py ) \
+ <(while true;do ./set_clock.sh ;sleep 1;done) \
+ /dev/stdin 2>/dev/null \
+ | hackvr 2>/dev/null