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 <sun...@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 > >