Re: [dwm] Preventing xterm from closing by killclient()

From: Martin Sander <>
Date: Fri, 11 Apr 2008 06:29:14 +0200

On Wed, Apr 09, 2008 at 07:17:06PM -0400, Jeremy O'Brien wrote:
> I recommend looking in applyrules() for some example code. You may be able
> to adapt it in killclient() :)

I had thought of that before, but I was still using 4.7 with regex
matching and that looked complicated to me.
Anyway, it wasn't difficult, especially with 4.9.
Thanks for the hint!

The solution is not very elegant (See attachment), but it works for me.

Thanks for dwm, it is great software


Received on Fri Apr 11 2008 - 06:29:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:33:06 UTC