On Wed 07 Dec 2011 09:58:17 PM PST, Carlos Torres wrote:
> On Wed, Dec 7, 2011 at 9:46 PM, Suraj N. Kurapati wrote:
> > I want to launch a terminal with EWMH window type "dialog" so
> > that it opens in the floating layer
>
> you can set the -name of the terminal; that will set the WM_CLASS
> to <name>, "XTerm" [...] you can then set a line in config.h of
> dwm for that specific XTerm instance.
Thanks, that works well, and for any client with that WM_CLASS. :)
static const Rule rules[] = {
{ NULL, "DIALOG", NULL, 0, True, -1 },
};
$ urxvt -name DIALOG -e top &
$ xterm -name DIALOG -e top &
--
"It's not just a computer -- it's your ass."
-- Cal Keegan
Received on Thu Dec 08 2011 - 20:53:18 CET