On Sat, 24 Sep 2016 14:02:20 +0200
Martin Kühne <mysat...@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"

Reply via email to