[geeks] Alarms, or why I hate computers
Jonathan C. Patschke
jp at celestrion.net
Tue Jun 24 00:15:31 CDT 2003
On Sat, 21 Jun 2003 jodys at helluin.org wrote:
> No joy. Score Unix 1 - Jody 0. Maybe SGI make some nifty OpenGL alarm clock,
> with 3D rotating numbers or something, but I don't want to spend the time
> sifting through /usr to find it.
I use a pair of scripts:
~/bin/annoy.sh:
#!/bin/sh
echo ^V^G
sleep 1
exec $0
~/bin/wakeup.sh:
#!/bin/ksh
if ["$2" = ""]; then
echo "Usage: wakeup.sh hours minutes"
exit
fi
sleep $(((3600*$1)+(60*$2)))
wakeup.sh
On the powerbook, wakeup.sh tells iTunes to start playing my main
playlist starting at a random song, but on the other machines, it just
beeps. Actually, no, on the Indy, I have it playing MP3s via amp.
--
Jonathan Patschke ) "Leave your lawsuits at home. I have guns."
Elgin, TX ( --"Kountry" Mike Lundgren
More information about the geeks
mailing list