#!/bin/sh
while true; do
#	sleep 1200 300 600 3600
	sleep 1800
	if [ `date +%H` -ge 23 -o `date +%H` -lt 6 ]; then
#	if [ `date +%H` -ge 1 -a `date +%H` -lt 6 ]; then
		cat <<EOT |
It's `date '+%-I:%M'`... Go to bed!  THIS IS TOP PRIORITY.

step 1. i shouldn't stay up too late at night
        cuz it makes things bad for me and people i love.

step 2. remember step 1.

Please use something like:  (sleep 300; off) &

EOT
		force_delay=1 noquit=1 q sshow /dev/stdin || xmessage 'xlate: sshow is not working!'
# Masakatsu agatsu katsuhayabi.
# Staying up late is NOT an Option.
# You can escape with ctrl-alt-backspace and shutdown already...
# Don't cheat by using Windows!  Respect the shutdown timer!
# No need to "save your work", it's probably already saved.
# Every time you fail, add a line, and add 1 to force_delay!
# Don't give up.  Sleeping late is better than not sleeping.
# Don't eat chocolate or drink caffeine before bed!
# I love you.  Don't be sad and angry.
	fi
done

