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


Reply via email to