Re: Info about workspaces

Hatem Nassrat <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <[email protected]>
Hi Marcin,

2009/4/17 Marcin Kłapkowski <[email protected]>:
> I use rpws for workspaces.
> Is there any possibility to see info about which workspace is current now?

if you C-t : and type the following command:

    getenv wspl

That will give you the current workspace number (i.e 1 or 2 or 3 ... )

> And about other workspaces (some sort of list with windows in workspaces)?
> Without this information, user which forgot his workspaces current setting,
> blindly going through workspaces one by one.

C-t w should give you a list of windows for the current workspace.
However what you want is the allwindows.sh script which can be found
in the ratpoison git repo under:

    ratpoison/contrib/allwindows.sh

place this script in a location on $PATH so that you can easily run it
from the command line, and then you may replace the default C-t w, by
putting the following in your .ratpoisonrc:

    bind w exec allwindows.sh
    bind C-w exec allwindows.sh

after that you will be able to get a list of all workspaces and all
windows, in a nice manner.

-- 
Hatem Nassrat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.