ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] window list


From: TBlittlefoot
Subject: Re: [RP] window list
Date: Thu, 20 Sep 2007 01:12:51 -0700

On Wed, Aug 08, 2007 at 09:26:04PM +1000, Brian May wrote:
> Several quick thoughts:
> 
> 
> 
> 1. The window list is close to unusable when some windows have
> excessively long titles. This can happen if one of the titles is a web
> browser that is visiting a web page that has a very long
> title. e.g. www.connex.com.au
> 

Pain in the butt. If you run unix/linux from the commandline within RP using
x-terminal-emulators and bash, you can use this:

PROMPT_COMMAND='ratpoison -c windows | sed "s/\(..............\)\(.*\)/\1/" | 
xargs echo -n ; echo -e "\r"'

Which produces output like this before creating a new prompt:

0-ff 1-sy 2*md 3-ca 4+rt 5-oo 6-A INSD FILE 7-Local Debian

Here's what just 'ratpoison -c windows' looks like:

0-ff
1-sy
2*md
3-ca
4+rt
5-oo
6-A INSD FILE Curriculum - Mozilla
7-Local Debian Start Page - Mozilla

Crude, perhaps, and only useful for a few RP users, but I thought I'd contribute
what I can. A shell addict's solution. 

RP is the best window manager ever.

Many thanks,

Tom











reply via email to

[Prev in Thread] Current Thread [Next in Thread]