On Sat, Jul 15, 2023 at 08:48:29PM +0600, NRK wrote: > Hi Dmitry, > > > but I don't need to restart X, which is much more annoying. > > There's no need to patch anything to achieve this. You can do something > like this in your xinitrc: > > while :; do dwm; done > > This will re-run dwm after it quits. And if you want to quit for real, > then you can just invoke `shutdown`.
Or exec into runsv(8). You are right, thank you for the nice idea. Nevermind the patch.