James Turner <[EMAIL PROTECTED]> wrote: > On Fri, Jul 11, 2008 at 08:42:24AM +0200, markus schnalke wrote: > > > > but then you probably have to wait one minute when you want to > > shutdown (Alt-q) dwm. > > > > (At least it was like this in earlier releases - I dont know about > > the current ones.) > > That why you can do something like add: > > while true > do > echo `date "+%m/%d %H%M"` > $HOME/.dwm/dwm_status > sleep 60 > done > > to a dwm_run script that writes to a fifo, then in .xinitrc pipe it into > dwm. No more waiting for the sleep loop to finish to exit dwm. > > [ -p $HOME/.dwm/dwm_status ] || mkfifo $HOME/.dwm/dwm_status > sh $HOME/.dwm/dwm_run & > exec dwm < $HOME/.dwm/dwm_status
ahh, nice to learn :-) thx meillo
signature.asc
Description: Digital signature
