Update xlaunch setxkbmap
[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.076151 seconds and 4 git commands to generate.