On Thu, 17 Aug 2006 18:56:55 +0200
"Anselm R. Garbe" <[EMAIL PROTECTED]> wrote:

> On Thu, Aug 17, 2006 at 04:32:33PM +0200, Adam Ritter wrote:
> > It would be nice if a script could be notified if a client is
> > closed. It would be easy to remember kill commands, but if the user
> > closes the window the script won't be notified. I.e. if I create a
> > key for focusing the ncmpc window and optionally creating a client,
> > after the client is closed, it won't create an ncmpc client again
> > (the script could always check if it is the right client, but that
> > has limitations).
> 
> Why not writing a wrapper script for the kill command? You could
> check the client's props (class:inst) and decide what todo,
> before writing kill. I see no need for the event you request.

A kill command is not the only way to close a client/destroy a window,
isn't it.

Attachment: pgpOQqa3afxn2.pgp
Description: PGP signature

_______________________________________________
wmii@wmii.de mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to