Re: [dwm] Reloading running dwm - reload patch

2007-03-22 Thread Oliver Heins
Christian Garbs [EMAIL PROTECTED] writes: The while true; do dwm; done loop won't work for me because I use a X logon manager (wdm) and with no way to break out of the loop I can't get back to the login screen (except from manually killing the X server), so the internal dwm reload is great.

Re: [dwm] Reloading running dwm - reload patch

2007-03-22 Thread Jeff Zhang
On 3/22/07, Sander van Dijk [EMAIL PROTECTED] wrote: On 3/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On (22/03/07 09:06), Anselm R. Garbe wrote: To: dynamic window manager dwm@suckless.org From: Anselm R. Garbe [EMAIL PROTECTED] On Thu, Mar 22, 2007 at 09:03:06AM +0100, Oliver

Re: [dwm] Reloading running dwm - reload patch

2007-03-22 Thread Jeff Zhang
On 3/22/07, Sander van Dijk [EMAIL PROTECTED] wrote: I think arg meant that in that setup one can: a) exit dwm the normal way to keep looping, and b) use ctrl-alt-backspace to break out of said loop... Ctrl-Alt-Backspace will be useless when DontZap option has been set in xorg etc.

Re: [dwm] Reloading running dwm - reload patch

2007-03-22 Thread Enno \Gottox\ Boland
Hi! Why that complex? I only put this line at the end of my ,xinitrc: echo -en y\nn | dmenu -p restart? | grep -xq y exec $0 2007/3/22, Sander van Dijk [EMAIL PROTECTED]: On 3/22/07, Jeff Zhang [EMAIL PROTECTED] wrote: On 3/22/07, Sander van Dijk [EMAIL PROTECTED] wrote: On 3/22/07,

Re: [dwm] Reloading running dwm - reload patch

2007-03-22 Thread Christian Garbs
On Thu, Mar 22, 2007 at 09:03:06AM +0100, Oliver Heins wrote: Christian Garbs [EMAIL PROTECTED] writes: The while true; do dwm; done loop won't work for me because I use a X logon manager (wdm) and with no way to break out of the loop I can't get back to the login screen (except from

Re: [dwm] Reloading running dwm - reload patch

2007-03-21 Thread Sander van Dijk
Hi, On 3/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I created patch for reloading dwm with signal USR1. Not to put your patch down, but with vanilla dwm you can achieve something pretty similar by doing this in your .xinitrc: while true do dwm done Greetings, Sander.

Re: [dwm] Reloading running dwm - reload patch

2007-03-21 Thread dfenze
On (21/03/07 16:57), Marek Bernat wrote: To: dynamic window manager dwm@suckless.org From: Marek Bernat [EMAIL PROTECTED] On 3/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Tried this and it did what I suppose it will do - all applications executed from within dwm gets killed. With

Re: [dwm] Reloading running dwm - reload patch

2007-03-21 Thread Marek Bernat
On 3/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So may I tried it in some bad way ;( There's no bad way I suppose, just the while loop :-) Anyway, dwm is neither doing anything explicit to processes upon exit, nor implicit, seeing it's not an ancestor of the managed apps (pstree).

Re: [dwm] Reloading running dwm - reload patch

2007-03-21 Thread Oliver Heins
Szabolcs Nagy [EMAIL PROTECTED] writes: while true do cat $DWM_PIPE done | /usr/bin/dwm it looks like a busy-loop shouldn't there be a sleep in there? Though on the first look it seems to be one, in fact it isn't. $DWM_PIPE is a fifo, so the loop idles most of the time unless there is

Re: [dwm] Reloading running dwm - reload patch

2007-03-20 Thread Bruno Deferrari
Thank you!! I wanted to do something like this, but now I don't have to :)