I want to start two isolated chrome windows, with each their own WM_CLASS
property set.
For the first window, I do:
/opt/google/chrome/chrome --class test-1 --new-window
Running xprop
, I notice that this has been set correctly:
WM_CLASS(STRING) = "google-chrome", "test-1"
Now I do the same for the second window:
/opt/google/chrome/chrome --class test-2 --new-window
I get in prop
for that second window:
WM_CLASS(STRING) = "google-chrome", "test-1"
So for the second window, the WM_CLASS
from the first window is taken.
How can I fix this?
To give some context, these WM_CLASS
attributes will be used in a i3wm
environment to move the windows in question to dedicated workspace. There doesn't seem to be another way to do this, as far as I know.