Re: [dev] automatic tagging on executing a program

From: Davide Anchisi <danchisi_AT_gmail.com>
Date: Thu, 24 Sep 2009 12:50:25 +0200

Thanks a lot!

2009/9/23 Kris Maglione <maglione.k_AT_gmail.com>:
> On Wed, Sep 23, 2009 at 04:41:24PM +0200, Davide Anchisi wrote:
>>
>> Hi,
>>
>> I created the tagrule:
>>  /gimp/ -> gimp
>> in rc.wmii.local
>>
>> So to tag gimp as gimp when executing it.
>> It works, but the program does not begin to start until I open the
>> newly created view.
>>
>> What is missing?
>> Is there a way so that the view switches to the new gimp view when I
>> execute gimp?
>
> I've noticed that too. It's quite irritating, and seems to be a gimp bug. It
> seems to wait around for its splash screen to be mapped before it begins
> initialization, which is clearly absurd. At any rate, yes, it's possible,
> with something like this:
>
> focustags = (gimp)
> fn Event-CreateTag {
>        echo $wmiinormcol $* | wmiir create /lbar/$"*
>        if (~ $"* $focustags)
>                wmiir xwrite /ctl view $*
> }
>
> --
> Kris Maglione
>
> Testing can only prove the presence of bugs, not their absence.
>        --Edsger W. Dijkstra
>
>
>
Received on Thu Sep 24 2009 - 10:50:25 UTC

This archive was generated by hypermail 2.2.0 : Thu Sep 24 2009 - 11:00:01 UTC