Re: [dwm] Reloading running dwm - reload patch

From: Enno \ <gottox_AT_gmail.com>
Date: Thu, 22 Mar 2007 16:27:56 +0100

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 <a.h.vandijk_AT_gmail.com>:
> On 3/22/07, Jeff Zhang <idealbsd_AT_gmail.com> wrote:
> >
> >
> > On 3/22/07, Sander van Dijk <a.h.vandijk_AT_gmail.com> wrote:
> > > On 3/22/07, dfenze_AT_gmail.com <dfenze_AT_gmail.com> wrote:
> > > > On (22/03/07 09:06), Anselm R. Garbe wrote:
> > > > > To: dynamic window manager < dwm_AT_suckless.org>
> > > > > From: "Anselm R. Garbe" <arg_AT_suckless.org>
> > > > >
> > > > > On Thu, Mar 22, 2007 at 09:03:06AM +0100, Oliver Heins wrote:
> > > > > > Christian Garbs <mitch_AT_cgarbs.de> 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.
> > > > > >
> > > > > > Just curious: what's wrong with ctrl-alt-backspace to quit dwm?
> > > > >
> > > > > Exactly. That should work for any setup using an endless loop.
> > > > >
> > > >
> > > > Yes, it will work, but apps you are running in that X also exits. And
> > > > that is all about.
> > >
> > > 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.
>
> Yes, and the SIGUSR1 patch won't help me if I have removed /bin/kill;
> what are you trying to say, besides the obvious?
>
> Greetings, Sander.
>
>

-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Received on Thu Mar 22 2007 - 16:28:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:39:59 UTC