On 25 March 2011 12:46, Benjamin R. Haskell <suckl...@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

Reply via email to