summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/clock/set_clock.sh
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2020-12-19 03:49:28 -0600
committerepoch <epoch@enzo.thebackupbox.net>2020-12-19 03:49:28 -0600
commitbc856202d45e117d4f5f5006be2d2387e6799e6a (patch)
tree3c406ee008d24d8d24af29ef847c111599bb6e6c /share/hackvr/examples/clock/set_clock.sh
parent6241f5a8627632242b7cf613bdc0a296ed85b35e (diff)
downloadhackvr-bc856202d45e117d4f5f5006be2d2387e6799e6a.tar.gz
hackvr-bc856202d45e117d4f5f5006be2d2387e6799e6a.zip
changed how the clock example works so it can work stand-alone and be make install'd and used easier by other scripts
Diffstat (limited to 'share/hackvr/examples/clock/set_clock.sh')
-rwxr-xr-xshare/hackvr/examples/clock/set_clock.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hackvr/examples/clock/set_clock.sh b/share/hackvr/examples/clock/set_clock.sh
index 45db14c..36c3fb4 100755
--- a/share/hackvr/examples/clock/set_clock.sh
+++ b/share/hackvr/examples/clock/set_clock.sh
@@ -5,3 +5,6 @@ second=$(date +%S | sed 's/^0//')
printf "_clock_face_hand_hour_ rotate 0 0 -%s\n" "$[$hour * 30 + ($minute / 2)]"
printf "_clock_face_hand_minute_ rotate 0 0 -%s\n" "$[$minute * 6]"
printf "_clock_face_hand_second_ rotate 0 0 -%s\n" "$[$second * 6]"
+#printf "_clock_face_hand_hour_ rotate 0 0 %s\n" "$[$hour * 30 + ($minute / 2)]"
+#printf "_clock_face_hand_minute_ rotate 0 0 %s\n" "$[$minute * 6]"
+#printf "_clock_face_hand_second_ rotate 0 0 %s\n" "$[$second * 6]"