On Sun, 31 May 2009, James Rowe wrote:
> > Simple example:
> > 
> > I want to spawn xterm and add tittle bar to it (but only to this
> > xterm, not to all xterms).
> 
>   Why not simply use your term's -name option and set a unique client
> name for term at startup?
> > (...)
>   Use -name im_irssi and something like the run_or_raise[1] code from
> the wiki.

Thank! That is exactly what I need ;)

I've added -name option to all xterm instances, so now I can
identify them, and I've registered following hook:

awful.hooks.manage.register(function (c, startup)
  if (c.name == "irssi") then
    im_irssi = c
  end
  if (c.name == "ekg2") then
    im_ekg2 = c
  end
  (...)

-- 
Paweł Zuzelski                                    xmpp/e-mail: [email protected]
PLD Linux developer                                   http://pld-linux.org

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

Reply via email to