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, [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 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 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)

Reply via email to