xquies utility (as known as "brave headache killer") will help you to save sight, carriage and increase labor productivity.
Principle of its work is simple: through the set interval of time you will be offered to relax. (Note: as xquies made on Tcl therefore it works under MS Windows too).
· Tcl/Tk 8.4
xquies grew from shell script relax.sh:
# every 45 min
while sleep 2700
msg="From `date -v-45M` has elapsed 45 minutes.
I advise to relax following 15 (to `date -v+15M`)"
xmessage -title "X relax.sh" -nearmouse "$msg"
which I had used for a few years. Its main probleb was in impossibility to get current value of the timer, so I decided to rewrite script on Tcl/Tk adding a little deliciousnesses.
At first, make sure that you have Tcl/Tk 8.4. I don't know will it work with earlier versions; it may or may not work with later versions.
Place the file xquies there where you have an executables and add at the beginning of .xinitrc file one line:
xquies -w -t 1 &
That's all. At the next X server start, xquies will begin quietly to do its job. To raise at any moment the main program window, type:
If to change a font in application on less than middle (for Helvetica it will be 14), than the text widget in Help window will improperly display text with bold attribute. This is not my bug but Tk 8.4.4.
Exit status correctly returns only if application is starting at the first time. At the next launches the exit status will be always 0.
What's New in This Release:
· hopefully removed bug with grabbing in Disturb window;
· add some bindings;
· removed zone name in the %-sequences;
· some documentation updates;
· tiny interface changes.