Re: [dev] [dwm] Firefox always opens in TAG 9

From: Nick Warne <nick_AT_linicks.net>
Date: Sat, 24 Sep 2016 13:11:48 +0100

On Sat, 24 Sep 2016 14:02:20 +0200
Martin K├╝hne <mysatyre_AT_gmail.com> wrote:

> What does that script look like and what does your config.h look like?
> Sounds like you had firefox set to launch on said tag in the latter.
>
> cheers!
> mar77i
>

My script from $HOME:

./progs/firefox/firefox > /dev/null 2>&1 &

...but it is in default config.h:

static const Rule rules[] = {
        /* xprop(1):
         * WM_CLASS(STRING) = instance, class
         * WM_NAME(STRING) = title
         */
        /* class instance title tags mask
isfloating monitor */ { "Gimp", NULL, NULL,
0, 1, -1 }, { "Firefox", NULL, NULL,
1 << 8, 0, -1 },

So I have been playing:

static const Rule rules[] = {
        /* xprop(1):
         * WM_CLASS(STRING) = instance, class
         * WM_NAME(STRING) = title
         */
        /* class instance title tags mask
isfloating monitor */ { "Gimp", NULL, NULL,
0, 1, -1 }, { "Firefox", NULL, NULL,
1 << 8, 0, -1 }, { NULL, NULL, "Claws
Mail", 1 << 4, 0, -1 }, { "Dillo", NULL,
NULL, 1 << 3, 0, -1 }, };

Works a bloody treat!

dwm is a great bit of kit - wish I found it ages ago!

Nick
-- 
"Gosh that takes me back... or is it forward?  That's the trouble with
time travel, you never can tell."
		-- Doctor Who "Androids of Tara"
Received on Sat Sep 24 2016 - 14:11:48 CEST

This archive was generated by hypermail 2.3.0 : Sat Sep 24 2016 - 14:24:05 CEST