On Wed, Aug 12, 2020 at 10:38:37AM -0700, Vlad wrote:
> What I want to do:
> When pavucontrol opens it will be small floating window on the top right
> corner.
> What I tried:
> @hook.subscribe.client_new
> def func(new_window):
> if new_window.name == 'Telegram':
> new_window.togroup("CHAT")
> # if new_window.window.id == 35651591:
> # if new_window.name == 'pavucontrol':
> # if new_window.name == 'Pavucontrol'
I see:
WM_CLASS(STRING) = "pavucontrol", "Pavucontrol"
in the xprop for pavucontrol, so something like
if new_window.match(wmclass="pavucontrol"):
...
should work.
Tycho
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/20200812191550.GB1146532%40cisco.