Hi there,
> there should be ways, but nothing works without rules.
Ok, then I'll do it with a rule. Your proposals gave me the idea of
tracking the name of the client which would be sufficient. Thanks!

But I ran into another problem: using pcmanfm the name of the window is
the name of the folder it is in, which would be completely sufficient to
be used in a rule. Unfortunately this only works for pcmanfm-clients
which aren't the first window of pcmanfm spawning, because the name is
"pcmanfm" on startup and switches to the folder's name slightly later.
For firstly starting clients I have solved this via a rule with callback:

{ rule = { name = "pcmanfm" }, except = { type = "dialog" }, callback =
rulePCManFMPlacement }

function rulePCManFMPlacement(c)
    c:connect_signal("property::name", rulehelpPCManFMPlacement )
end

function rulehelpzeuch(cl)
    if cl.name == "wantedName" then
        awful.client.movetotag( tag, cl )
    end
    cl:disconnect_signal("property::name", rulehelpPCManFMPlacement)
end

Just if someone needs the code. :)

> If you check the archives of this mailing list you should find that
> similiar discussions were held this and last month.
Oh, you are right, I've searched for "spawn" and not for "launch", which
explaines why I haven't found the thread. But as far as I read, my new
problem concerning the nameswitching wasn't discussed there.

Cheers,
Manuel

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to