Context would be helpful. `qtile.current_window` (or something to that effect) works *inside *a lazy function (when passed the `qtile` object), but I'm not sure what you'd want to do with a window object *outside* of a lazy function.
On Mon, Aug 9, 2021, 07:23 Guilherme Freire <[email protected]> wrote: > I need to get the current focused window object when a keybind is pressed. > Is there some lazy.*command* that I can use or something like that? How > can I do this? > > -- > 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/793f355c-051d-4334-9207-222a6353a6d8n%40googlegroups.com > <https://groups.google.com/d/msgid/qtile-dev/793f355c-051d-4334-9207-222a6353a6d8n%40googlegroups.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/CAHErDQh4dL8XXis8r5MNd%2BeAvLmiV5ep6S%3DGwbSifitkP14ppA%40mail.gmail.com.
