Re: [dwm] How to restart after re-compiling dwm without destroying of existing clients?

From: Ritesh Kumar <ritesh_AT_cs.unc.edu>
Date: Thu, 13 Dec 2007 16:32:38 -0500

On Dec 13, 2007 3:17 PM, Anselm R. Garbe <arg_AT_suckless.org> 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
Received on Thu Dec 13 2007 - 22:32:40 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:11:55 UTC