Re: [dev] [dwm][PATCH] Add function to exec into another executable

2023-07-15 Thread Dmitry Bogatov
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

Re: [dev] [dwm][PATCH] Add function to exec into another executable

2023-07-15 Thread NRK
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

[dev] [dwm][PATCH] Add function to exec into another executable

2023-07-15 Thread Dmitry Bogatov
Hello. I want to share my patch that I have been using for couple months that simplifies reconfiguring of the dwm. It adds function to execute into another executable, be it another build of dwm or another window manager. I have following lines in `dwm.h': static const char *dwmcmd[] =