Re: [wmii] Select window by name?

From: Kai Grossjohann <kai.grossjohann_AT_verizonbusiness.com>
Date: Fri, 04 Aug 2006 14:05:59 +0200

Anselm R. Garbe wrote:
> On Fri, Aug 04, 2006 at 11:50:40AM +0200, Kai Grossjohann wrote:
>
>> Anselm R. Garbe wrote:
>>
>>> On Fri, Aug 04, 2006 at 09:57:10AM +0200, Kai Grossjohann wrote:
>>>
>>>
>>>> I would like to be presented with a list of window names, so that I can
>>>> choose one with completion in the manner of the "actions" and "prorgams"
>>>> "menus" that wmii provides in the default config.
>>>>
>>>>
>>> I consider this as unsupported in wmii-3.1, even if there might
>>> be some hackish way to achieve this (e.g. fetching the client
>>> names from /client namespace, remembering the client id and the
>>> tag of each client, selecting the specific tag and client after
>>> selection).
>>>
>>>
>> I think there is something I do not understand here. Isn't wmiir
>> supported? Isn't every documented command line switch of wmiir supported?
>>
> Sure, but there is no cmd to select a specific client by id.
>
Okay, so one has to search all clients in all views for the right index,
then select the one found.

>> I merely asked if someone has already done this, to avoid reinventing
>> the wheel. It is clear from your message that you haven't done this.
>> But perhaps someone else has?
>>
> Well, I doubt it.
>
Okay. I will work on this.

>>>> Perhaps it would be useful to have another action that, if the window is
>>>> shown in more than one view, cycles to the next view and focuses the
>>>> window there.
>>>>
>>>>
>>> I think that is no good idea.
>>>
>> Why not?
>>
>
> Simply because the tags of a window are displayed in its title
> and it's pointless to invent more complexity if you can already
> switch to the specific view because you know where a client is
> attached to.
>
This, sir, is a highly convincing argument! I am embarrassed to have
missed something so obvious.

Kai
Received on Fri Aug 04 2006 - 14:07:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:11:43 UTC