[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Devilspie2 report only one value of WM_CLASS
From: |
Alexandros Prekates |
Subject: |
Devilspie2 report only one value of WM_CLASS |
Date: |
Wed, 1 Jun 2022 11:25:57 +0000 |
I start a program with :
$ qutebrowser --qt-arg name qbclang
and inspecting with xprop -spy i see :
WM_CLASS(STRING) = "qbclang", "qutebrowser"
But devilspie2 in debug mode will report:
Application: qutebrowser
Window: C reference - cppreference.com - qutebrowser (a website i've
loaded)
Class: qutebrowser
And indeed the following rule cant catch it:
if (string.find(get_window_class(),"qbclang") ~= nil) then
-- x,y, xsize, ysize
set_window_workspace(3);
set_window_geometry(2000,480,600,1000);
end
So is there is a way to use the second value of WM_CLASS ?
- Devilspie2 report only one value of WM_CLASS,
Alexandros Prekates <=