Re: [dev] [dwm] Firefox always opens in TAG 9
On Sat, 24 Sep 2016 14:02:20 +0200 Martin Kühnewrote: > 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 instancetitle 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 instancetitle 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"
Re: [dev] [dwm] Firefox always opens in TAG 9
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
Re: [dev] [dwm] Firefox always opens in TAG 9
On Sat, 24 Sep 2016 11:38:24 +0200 Uwewrote: > On 24 September 2016 10:05:58 CEST, Nick Warne > wrote: > > > >I have a small script that lauches firefox thus: > > > >> ./ff > > > >but no matter what TAG I run it from, Firefox always opens in TAG 9. > >Now, no problem with this, but I am curious why only FF shows this > >behaviour? > > > >Nick > > > Check your config.h and how Firefox is configured there Duh, didn't think to look there: 1 << 8 = 256 so bit 0 is TAG 1 ~ bit 8 is TAG 9. Got it! Thanks, 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"
Re: [dev] [dwm] Firefox always opens in TAG 9
On 24 September 2016 10:05:58 CEST, Nick Warnewrote: > >I have a small script that lauches firefox thus: > >> ./ff > >but no matter what TAG I run it from, Firefox always opens in TAG 9. >Now, no problem with this, but I am curious why only FF shows this >behaviour? > >Nick Check your config.h and how Firefox is configured there
[dev] [dwm] Firefox always opens in TAG 9
I have a small script that lauches firefox thus: > ./ff but no matter what TAG I run it from, Firefox always opens in TAG 9. Now, no problem with this, but I am curious why only FF shows this behaviour? 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"