[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Patch to stop shells from being left around
From: |
Doug Kearns |
Subject: |
Re: [RP] Patch to stop shells from being left around |
Date: |
Wed Oct 10 08:01:12 2001 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917 |
Mike Meyer wrote:
Doug Kearns <address@hidden> types:
<snip>
Well, here's the little hack that I've been using for a while.
It's probably even less portable than a python script, and a _whole_ lot
uglier :)
It does, however, use the current value of defwinfmt for the ratmenu labels.
That's actually a nice thing to do. The eval is the trick I missed,
though the use of <(...) is a good trick. I think you could simplify
it by making the second invocation of rp like so:
<( ratpoison -c "windows ratpoison -c 'select %n'" )
Thanks - write once, run everyday :)
Hmm - one possible problem - what happens if a window vanishes between
invocations?
Bad, bad, bad things....
Just an empty ratmenu command for the listed window label, I imagine.
Now, if I only I could find the time to patch ratmenu so that we can
escape ':' characters in the label.
Yup, that was part of the problem.
<mike
P.S. Thunder, lightening and 2cm hail here. Thank the gods for UPS's
as the light just moved from inside to outside for a second.
You did brave the storm and bring the car in didn't you?
Regards,
Doug
- [RP] Patch to stop shells from being left around, Mike Meyer, 2001/10/04
- Re: [RP] Patch to stop shells from being left around, Mike Meyer, 2001/10/06
- Re: [RP] Patch to stop shells from being left around, Jonathan Walther, 2001/10/06
- Re: [RP] Patch to stop shells from being left around, Doug Kearns, 2001/10/10
- Re: [RP] Patch to stop shells from being left around, Mike Meyer, 2001/10/10
- Re: [RP] Patch to stop shells from being left around,
Doug Kearns <=
- Re: [RP] Patch to stop shells from being left around, Jonathan Walther, 2001/10/10
- Re: [RP] Patch to stop shells from being left around, Mike Meyer, 2001/10/10
- Re: [RP] Patch to stop shells from being left around, Doug Kearns, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Jonathan Walther, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Doug Kearns, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Doug Kearns, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Jonathan Walther, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Doug Kearns, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Mike Meyer, 2001/10/11
- Re: [RP] Patch to stop shells from being left around, Jonathan Walther, 2001/10/11