You could have a global variable, like *classname *that you set when spawning a client. Then in the startup hook function, if *classname *isn't nil, do something special. Then set *classname* to nil, so it's not handled again.
2009/9/7 Alessandro Massignan <[email protected]> > Hi all, > > i'm wondering how could i handle a client soon as it's spawned? > That is after a > > awful.util.spawn("xterm") > > i wish to handle its posistion, geometry and so on. > Sorry for the newbie question, but i'm still in trouble with awesome > and lua worlds. > > Thanks. > ff0000 > > -- > To unsubscribe, send mail to [email protected]. >
