You are not logged in.

#1 2023-08-20 09:12:47

meezoarch
Member
Registered: 2022-12-01
Posts: 42

Bspwm window rules not working

I have recently migrated from i3 to bspwm. I am trying to get my window rules to work but none of them is.
I have set my terminal and google chrome to autostart and they are both placed in an undefined workstation.
While trying to trubleshoot the problem I found that:
- Many applications when they first get launched/spawned do NOT have a WM_CLASS(STRING). Running xprop just returns:

WM_STATE(WM_STATE):
           window state: Normal
           icom window; 0x0
WM_CLASS(STRING) = "motion_recorder" "bspwm"

Also running

bspc query -D --names
Desktop

However, the above seems to change sometimes if I manually move nodes into workspaces. Xprog will then return specific names and quering the desktop returns a number.
It appears that if I launch a new instance of an application, it starts with the above non specific wm class string hence the rule does not apply to it.

Can someone take me through the steps to troubleshoot this please?

Offline

#2 2023-08-20 09:32:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,684

Re: Bspwm window rules not working

Can't tell what your problem is, but the motion_recorder is a single pixel bspwm seems to place under the mouse at times, so you're looking at the wrong window.

xwininfo -root -tree

gets you a list of windows and you can also use "wmctrl -l"

Offline

Board footer

Powered by FluxBB