Re: [dev] [dwm] "reload" configuration?

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Fri, 25 Mar 2011 12:49:32 +0100

On 25 March 2011 12:46, Benjamin R. Haskell <suckless_AT_benizi.com> wrote:
> So, in the early stages of trying out dwm, the thing I'm finding most
> frustrating is the need to restart after changing config.h.
>
> My first attempt was to modify spawn such that if arg->v[0] is "dwm", it
> doesn't fork, just exec's.  But, when doing that, all the windows' tag
> information is lost, so I end up with 50 windows jumbled onto tag 1 on one
> monitor.
>
> Anyone have suggestions?

Just launch dwm from a while loop in .xinitrc (or launch dwm manually
from an xterm as WM):

while true
do
    dwm
done

Cheers,
Anselm
Received on Fri Mar 25 2011 - 12:49:32 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 25 2011 - 13:00:05 CET