Re: [dev] DWM equivalent of wihack?

From: Carlos Torres <vlaadbrain_AT_gmail.com>
Date: Wed, 7 Dec 2011 21:58:17 -0500

you can set the -name of the terminal; that will set the WM_CLASS to
<name>, "XTerm"

i.e. xterm -name TOPLESS is
XTerm.TOPLESS or according to xprop
WM_CLASS(STRING) = "TOPLESS", "XTerm"

you can then set a line in config.h of dwm for that specific XTerm
instance.

--Carlos

On Wed, Dec 7, 2011 at 9:46 PM, Suraj N. Kurapati <sunaku_AT_gmail.com> wrote:

> Hello,
>
> 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.
>
> Thanks.
>
> --
> Illusion is the first of all pleasures.
> -- Voltaire
>
>
Received on Thu Dec 08 2011 - 03:58:17 CET

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