Hi,

I want to create/spawn a new client (a new urxvt) and hold it/catch it
in a variable to do some stuff with it afterwards.
 
The way I am doing this now is by spawning, catching the pid and then
find the client with this pid:

>    clpid = awful.util.spawn('urxvt')
>    wait(1) -- waits 1 second
>    for c in awful.client.iterate(function(c) return
awful.rules.match(c, { pid = clpid }) end) do
>        persistent_c = c
>    end

Is it possible to spawn and catch a client in one step (or at least not
bringing out the artillery by spawning a client, throwing it away and
then get it back from the bunch of clients)?

Thanks in advance,
Manuel

-- 
To unsubscribe, send mail to [email protected].

Reply via email to