Yep. You'll want to use a trigger decorator for when a window is opened.
That should give the window as an argument.

You can either use a match group to determine if the app is what you want
it to be. If it is, the window should have a method for moving the window
to a specific location on the screen (assuming this is a floating window).
I don't remember if that method uses absolute coordinates or
monitor-rrlative coordinates. That concept may not even exist on Wayland,
I'm fairly in familiar with it.

I can try to track down the actual function names in a bit, but hopefully
that should get you going in the right direction.

On Tue, Dec 21, 2021, 17:59 Justine Smithies <[email protected]>
wrote:

> Is there a way to say open mpv or any app with a certain class or title at
> a specific location on screen and size ?
>
> Thanks in advance
>
> --
> 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/CADrRWNbhtptaUUw0AmRmZVrKRFxNBoN9BSA%3D-geyFwYR2Nwspw%40mail.gmail.com
> <https://groups.google.com/d/msgid/qtile-dev/CADrRWNbhtptaUUw0AmRmZVrKRFxNBoN9BSA%3D-geyFwYR2Nwspw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAHErDQi73syuY_sSdc2REZXAQktEZuUc-sv0Qdj_D_8N42%3De%3DQ%40mail.gmail.com.

Reply via email to