On 21-Jan-2002 Sascha Huedepohl wrote:
> Hi,
> i wonder if it is possible to get the name of the current
> workspace. What i wont to do is:
> - press Alt-(1-9) to switch to a workspace
> - press F5 to open a new aterm
> this already works fine.
> 
> Now i think there should be a little shell-script to get an
> environment variable ($WORKSPACE) and do a ssh to a workspace-
> relatet server.
> Puh - surely verry bad english. Sorry. But i think i made
> clear what i mean? :)
> 

once we support the NET WM spec you can write a little program which asks
blackbox what is the number of the workspace currently, then ask it for the
name of that workspace.  You could then pass it to other scripts easily.

http://www.freedesktop.org/standards/wm-spec/x104.html

Reply via email to