Yes, i think that's it. But i still cannot get the current window. `qtile.current_window` is not returning nothing
Em segunda-feira, 9 de agosto de 2021 às 12:22:17 UTC-3, [email protected] escreveu: > Gotcha. You'll want to define your own lazy function to do that then. > On Monday, August 9, 2021 at 9:10:23 AM UTC-6 [email protected] wrote: > >> I'm kinda of implementing a window swallow in my config, but I want the >> option to unswallow a window with some keybind >> >> Em segunda-feira, 9 de agosto de 2021 às 11:51:15 UTC-3, >> [email protected] escreveu: >> >>> 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/6b9a4511-6a61-4e47-a05a-e0128e69ed4an%40googlegroups.com.
