* Paweł Zuzelski ([email protected]) wrote:
> Maybe I should describe what I want to achive:

  It tends to help ;)

> 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?

> Complex example:
> 
> I want to bind the following action to win+i:
> 
> if "im_irssi" does not exists:
>   if "im_tag" does not exists create "im_tag"
>   switch to im_tag
>   spawn xterm with irssi
> else switch to im_tag and raise xterm with irssi on top

  Use -name im_irssi and something like the run_or_raise[1] code from
the wiki.

Thanks,

James
  1. http://awesome.naquadah.org/wiki/Run_or_raise

Attachment: pgpNKndUQMVut.pgp
Description: PGP signature

Reply via email to