[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] finally; window selection menu
From: |
Jonathan Walther |
Subject: |
Re: [RP] finally; window selection menu |
Date: |
Thu Nov 1 17:05:18 2001 |
User-agent: |
Mutt/1.3.23i |
Thanks Mike. That is definately a good point you brought out.
My script now looks like this:
#!/usr/bin/env bash
( printf "ratmenu -style dreary -fg grey -bg blue";
ratpoison -c "windows %n %s %t" | while read x y z; do
a=$(printf "%3q" $x); b="ratpoison -c \"select $x\"";
printf " %q\\ %q\\ %q %q" "$a" "$y" "$z" "$b";
done; echo \;) | sh
Now, Mike, what is that about your Python version? Last I remember, it
took quite a few lines to accomplish the same thing as this shell does,
and also it used the old version of ratmenu, not the new one that allows
the ':' character in window titles.
Jonathan
--
I am working to subvert from within ...
umm ... by writing shoddy code ... and
charging too much.
pgpqw6OJNSLLy.pgp
Description: PGP signature