bakkeby / dwm-flexipatch

A dwm build with preprocessor directives to decide which patches to include during build time
MIT License
1.17k stars 238 forks source link

firefox opens in 8th tag by default #154

Closed 0xGodspeed closed 3 years ago

0xGodspeed commented 3 years ago

I believe it's because of this: https://github.com/bakkeby/dwm-flexipatch/blob/c968fd9aae7c18e61428bcab0f09798c2f9bdfb5/config.def.h#L417 After searching for a bit I found that after changing 1 << 7 to 0, it opens in the current tag. Why is it like this by default?

bakkeby commented 3 years ago

It's just an example rule that comes with a bare 6.2 dwm:

See https://git.suckless.org/dwm/file/config.def.h.html

0xGodspeed commented 3 years ago

I see. It actually works as I expect it to in arch but for some reason the issue arises in void linux.

bakkeby commented 3 years ago

Yes this is a known issue. I don't know why exactly, but the class hint for firefox seems to depend on the distribution or on the version. It is either "firefox" or "Firefox".

0xGodspeed commented 3 years ago

Oh wow. I didn't know that. I guess the issue is with firefox itself then and not dwm. Thanks.