home
/
code
/
khome.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fd0b055d26b90178b7eadd82533c327ac51d9852
[khome.git]
/
home
/
bin
/
alarm
1
#! /bin/sh
2
3
case
"
$1
"
4
in
""
)
5
seconds
=
0
6
;; *)
7
seconds
=
"
$1
"
8
esac
9
10
if
which
snore
11
then
12
_sleep
=
snore
;
13
else
14
_sleep
=
sleep
;
15
fi
16
17
"
$_sleep
"
"
$seconds
"
18
19
printf
"!!! TIMES UP !!!
\n
"
20
21
while
true
22
do
23
play
-q -n
synth
0.25
sin
500 2
> /
dev
/
null
24
sleep
0.25
25
done
This page took
0.059517 seconds
and
5
git commands to generate.