Iterate over open windows

28 views
Skip to first unread message

Gustavo Rangel

unread,
Jan 30, 2022, 7:27:51 AM1/30/22
to qtile-dev
Every time I restart qtile, I want to move specific windows to its default group. For that, I guess I need to iterate over open windows. How'd I do that?

el Paraguayo

unread,
Jan 30, 2022, 7:31:13 AM1/30/22
to qtil...@googlegroups.com
You can access windows in qtile.windows_map

It's a dict object with the window ID as the key.

On Sun, 30 Jan 2022, 12:27 Gustavo Rangel, <gustavo...@gmail.com> wrote:
Every time I restart qtile, I want to move specific windows to its default group. For that, I guess I need to iterate over open windows. How'd I do that?

--
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 qtile-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/a298810d-21a6-4037-b1c8-defca1353a70n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages