Accept a name for dl and include starter script file
[khome.git] / alarm
... / ...
CommitLineData
1#! /bin/sh
2
3case "$1"
4 in "")
5 printf "How many seconds to sleep?" 1>&2
6 exit 1
7 ;; *)
8 seconds="$1"
9esac
10
11$HOME/bin/snore "$seconds"
12
13printf "!!! TIMES UP !!!\n"
14
15while true
16do
17 play -q -n synth 0.25 sin 500 2> /dev/null
18 sleep 0.25
19done
This page took 0.022251 seconds and 5 git commands to generate.