On Dec 13, 2007 3:17 PM, Anselm R. Garbe <[EMAIL PROTECTED]> wrote:

> On Thu, Dec 13, 2007 at 09:39:24PM +0300, Taras Ivashchenko wrote:
> > Hello everybody, sorry if this question already was asked.
> >
> > Is there way or may be patch to restart after re-compiling dwm without
> destroying of existing clients?
> > Something like  restart feature in xmonad?
>
> while true
> do
>        dwm
> done
>
> dwm restarts correctly on Mod-Shift-q within a while loop.
>

while true; do
    date;
    (anything else for the statusbar goes here too)
done | while true; do dwm; done

I generally use the above in a launcher script.

Ritesh

Reply via email to