leftwm: window_rules ignored.

Hello, this is me again!

I’m on da3089f trying the new window_rules feature and it doesn’t work for me. ^^

This is what I added to config.toml:

window_rules = [
{window_class = "Firefox", spawn_on_tag = 2},
]

What am I missing?

FreeBSD 13.0R

Thank you again!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Can you check if #666 fixes the issues (hopefully we don’t summon satan)

Yes, using

tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]

worked.

Thank you.

Ye 10 would be used. Currently it requires the tags index starting from 1 e.g. 1, 2, 3, …, 10, 11,…

Can you check if #666 fixes the issues (hopefully we don’t summon satan)

Apparently yes except the “WeeChat 3.4” isn’t working. I had no time to test extensively but I later I will rename the WeeChat window title to something with just a single word to try out (didn’t work before this patch, as reference).

Thanks!

Btw, it would be interesting if we could use something like this:

{window_title = "keepassxc", spawn_floating = true},

for windows whose we don’t need/want to spawn on a specific tag but should always be floating. My personal user case are those living on the icon tray.

Thank you.