Todd Gruhn wrote:

> I have a project I need to time. While I am on the computer, is there
> an X-widget
> that allows me to set and time a process, and has an alarm to get my 
> attention?
> Similar to a stopwatch?

I have this little script that would pop up a reminder to do something
every 10 minutes.

        #!/bin/sh

        FONT="-adobe-helvetica-bold-r-normal-*-*-640-*-*-p-*-iso8859-1"

        show()
        {
                echo $* | osd_cat -A center -p middle -c red -s 1 -d 1 -f 
"$FONT"
        }


        while true; do
                sleep $((10 * 60))
                show $*
                sleep 1
                show $*
                sleep 1
                show $*
        done

osd_cat is in pkgsrc/x11/xosd

I haven't used this in over a decade.  It doesn't have a count down
clock, but you might be able to do something with the alarm bit.

Cheers,
Simon.

Reply via email to