Organize into home and system directories
[khome.git] / home / bin / alarm
diff --git a/home/bin/alarm b/home/bin/alarm
new file mode 100755 (executable)
index 0000000..ad57499
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+case "$1"
+    in "")
+        seconds=0
+    ;; *)
+        seconds="$1"
+esac
+
+$HOME/bin/snore "$seconds"
+
+printf "!!! TIMES UP !!!\n"
+
+while true
+do
+    play -q -n synth 0.25 sin 500 2> /dev/null
+    sleep 0.25
+done
This page took 0.03802 seconds and 4 git commands to generate.