From bc856202d45e117d4f5f5006be2d2387e6799e6a Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 19 Dec 2020 03:49:28 -0600 Subject: changed how the clock example works so it can work stand-alone and be make install'd and used easier by other scripts --- share/hackvr/examples/clock/set_clock.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'share/hackvr/examples/clock/set_clock.sh') 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]" -- cgit v1.2.3