[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] finally; window selection menu
From: |
Mike Meyer |
Subject: |
Re: [RP] finally; window selection menu |
Date: |
Thu Nov 1 16:57:08 2001 |
Jonathan Walther <address@hidden> types:
> Make sure you have bash installed and in your $PATH;
> Put this line:
> defwinfmt %n %s %t
> in your ~/.ratpoisonrc.
We've actually seen a number of such things, so "finally" isn't quite
right.
> #!/usr/bin/env bash
>
> ( printf "ratmenu -style dreary -fg grey -bg blue";
> ratpoison -c windows | 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
If you change the first ratpoison invocation to
ratpoison -c "windows %n %s %t"
you'll lose the requirement of having to have a default window format.
My python version keeps growing. I've added the ability to get a frame
menu if you've got my frame patches installed.
<mike
--
Mike Meyer <address@hidden> http://www.mired.org/home/mwm/
Q: How do you make the gods laugh? A: Tell them your plans.