Commit | Line | Data |
---|---|---|
1 | #! /bin/sh | |
2 | ||
3 | case "$1" | |
4 | in "") | |
5 | printf "How many seconds to sleep?" 1>&2 | |
6 | exit 1 | |
7 | ;; *) | |
8 | seconds="$1" | |
9 | esac | |
10 | ||
11 | $HOME/bin/snore "$seconds" | |
12 | ||
13 | printf "!!! TIMES UP !!!\n" | |
14 | ||
15 | while true | |
16 | do | |
17 | play -q -n synth 0.25 sin 500 2> /dev/null | |
18 | sleep 0.25 | |
19 | done |