On Thu, Jan 10, 2008 at 02:12:30PM +0100, Peter Vollmar wrote: > I don't have cron, so I'm interested in a separate loop (or distinct loop > iterations), but I don't know how to do it :-)
You don't have cron? What kind of system are you running? You can just write a short script called e.g. mailchecker.sh that does your mailchecking in a loop containing e.g. a "sleep 300". Start this script in the background in your .xinitrc: ~/bin/mailchecker.sh & MAILCHECKPID=$! # run dwm as before here # make sure the script is killed when dwm exits kill $MAILCHECKPID Regards Martin