diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2020-12-19 03:49:28 -0600 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2020-12-19 03:49:28 -0600 |
commit | bc856202d45e117d4f5f5006be2d2387e6799e6a (patch) | |
tree | 3c406ee008d24d8d24af29ef847c111599bb6e6c /share/hackvr/examples/clock/set_clock.sh | |
parent | 6241f5a8627632242b7cf613bdc0a296ed85b35e (diff) | |
download | hackvr-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-x | share/hackvr/examples/clock/set_clock.sh | 3 |
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]" |