Re: [dwm] xprop patch

2008-12-13 Thread Frederic Chardon
Hello, It is now useless to close stdin: --- orig/dwm.c 2008-12-13 18:05:32.0 +0100 +++ dwm/dwm.c 2008-12-13 18:09:16.0 +0100 @@ -343,7 +343,6 @@ Arg a = {.ui = ~0}; Layout foo = { , NULL }; - close(STDIN_FILENO); view(a); lt[sellt] =

Re: [dwm] xprop patch

2008-12-12 Thread Antoni Grzymala
Anselm R Garbe dixit (2008-12-09, 19:44): If you consider that Neale's patch makes it upstream, what do you think about: while true do dwm done in .xinitrc to restart dwm? How do I exit back to xdm cleanly then? -- [a]

Re: [dwm] xprop patch

2008-12-10 Thread yy
2008/12/9 Anselm R Garbe [EMAIL PROTECTED]: 2008/12/9 Neale Pickett [EMAIL PROTECTED]: I very much like this patch. I realized right away that I would never again need to restart dwm when I work on my status script. When it dies, I can just start it up again without restarting DWM. Someone

[dwm] xprop patch

2008-12-09 Thread Neale Pickett
I very much like this patch. I realized right away that I would never again need to restart dwm when I work on my status script. When it dies, I can just start it up again without restarting DWM. Someone could even have multiple programs running to update the status text. It removes the need

Re: [dwm] xprop patch

2008-12-09 Thread Benoit T
On Tue, Dec 09, 2008 at 10:41:35AM -0700, Neale Pickett wrote: I very much like this patch. I realized right away that I would never again need to restart dwm when I work on my status script. When it dies, I can just start it up again without restarting DWM. Someone could even have multiple

Re: [dwm] xprop patch

2008-12-09 Thread Anselm R Garbe
2008/12/9 Benoit T [EMAIL PROTECTED]: On Tue, Dec 09, 2008 at 10:41:35AM -0700, Neale Pickett wrote: I very much like this patch. I realized right away that I would never again need to restart dwm when I work on my status script. When it dies, I can just start it up again without restarting

Re: [dwm] xprop patch

2008-12-09 Thread Benoit T
On Tue, Dec 09, 2008 at 07:44:21PM +, Anselm R Garbe wrote: 2008/12/9 Benoit T [EMAIL PROTECTED]: conversely, when hacking on dwm itself, i like being able to restart dwm without restarting my x session, yet i want the session to exit when dwm exits, ie. dwm xterm in .xsession is not

Re: [dwm] xprop patch

2008-12-09 Thread Evan Gates
You can do while true do dwm || exit done This way when you kill dwm correctly (with modkey+shift+q as default) it respawns, but if you kill it any other way, the Xsession finishes. You could even add a key binding that does killall dwm or something of the sort for when you want to end the

Re: [dwm] xprop patch

2008-12-09 Thread Anselm R Garbe
2008/12/9 Neale Pickett [EMAIL PROTECTED]: I very much like this patch. I realized right away that I would never again need to restart dwm when I work on my status script. When it dies, I can just start it up again without restarting DWM. Someone could even have multiple programs running to

Re: [dwm] xprop patch

2008-12-09 Thread Jeremy Jay
Or even simpler =) while dwm do sleep 1 done - Jeremy On Tue 09 Dec 2008 - 04:26PM, Evan Gates wrote: You can do while true do dwm || exit done This way when you kill dwm correctly (with modkey+shift+q as default) it respawns, but if you kill it any other way, the Xsession