[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Devilspie2 report only one value of WM_CLASS
From: |
Darren Salt |
Subject: |
Re: Devilspie2 report only one value of WM_CLASS |
Date: |
Mon, 4 Jul 2022 15:12:48 +0100 |
User-agent: |
Messenger-Pro/2.73.6.4252 (Qt/5.15.2) (Linux-x86_64) |
I demand that Alexandros Prekates may or may not have written...
> 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 ?
There is now (given WNCK 3).
You want get_class_instance_name() for one of the two strings and
get_class_group_name() for the other.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Devilspie2 report only one value of WM_CLASS,
Darren Salt <=