Re: [dev] DWM equivalent of wihack?

From: TJ Robotham <>
Date: Wed, 7 Dec 2011 22:13:03 -0500

On Wed, Dec 07, 2011 at 06:46:13PM -0800, Suraj N. Kurapati wrote:
> I want to launch a terminal with EWMH window type "dialog" so that it
> opens in the floating layer but I don't want to add a rule to put *all*
> terminals in the floating layer. In wmii, I would use the wihack tool
> to accomplish this. How could I achieve this in DWM?
> In particular, I'm trying to launch top(1) in a terminal when I click a
> region that shows the current system load average in my dzen2 statusbar.

If you launch it as "xterm -e top" then the window's title will be "top" at
launch and you can match against title "top" instead of (or in addition to if
you really wanted to for some reason) class "xterm" in your rules.
Received on Thu Dec 08 2011 - 04:13:03 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 08 2011 - 04:24:04 CET