summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/clock/set_clock.sh
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
committerepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
commit6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch)
tree11301c4e20d9a1448337e73b62a16ab1bfeba457 /share/hackvr/examples/clock/set_clock.sh
parent49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff)
downloadhackvr-master.tar.gz
hackvr-master.zip
updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bashHEADmaster
Diffstat (limited to 'share/hackvr/examples/clock/set_clock.sh')
-rwxr-xr-xshare/hackvr/examples/clock/set_clock.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/share/hackvr/examples/clock/set_clock.sh b/share/hackvr/examples/clock/set_clock.sh
deleted file mode 100755
index 36c3fb4..0000000
--- a/share/hackvr/examples/clock/set_clock.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-hour=$(date +%H | sed 's/^0//')
-minute=$(date +%M | sed 's/^0//')
-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]"