@David. Sorry for the long wait. Must have slipped through my email. The function changes the focus from a floating window to a non-floating window and vice-versa. As for why it might not be doing anything, it will only do something if there is a floating window in the current group. Otherwise, I'm not sure why it wouldn't work for you.
On Thursday, January 27, 2022 at 6:22:01 AM UTC-7 Milkias Yeheyis wrote: > I have some functions that I use for this situation. One is a function > that brings all floating windows to the front here > <https://github.com/milkias17/dotfiles/blob/96bdc634f16c01b9e0fdea3d150df43726f9c730/qtile/config.py#L25-L30>. > > And I have 2 custom functions that allow you to cycle between different > windows whether they are floating or not here > <https://github.com/milkias17/dotfiles/blob/96bdc634f16c01b9e0fdea3d150df43726f9c730/qtile/config.py#L33-L47>. > > So you can put them in your config and set up a keybinding for the > functions and you are set. Note that when you set keybindings don't call > the function just pass the reference. > On Friday, January 21, 2022 at 10:10:01 PM UTC+3 David Budzynski wrote: > >> What exactly does your function do, sorry if this is an obvious q, but I >> don't write any Python apart from using it in qtile? I tried adding it to >> my config, added a key binding to it and I don't think it's working >> correctly because it doesn't seem to do anything… >> >> On Thursday, 20 January 2022 at 22:49:21 UTC [email protected] wrote: >> >>> I haven't used Monad Tall before, nor do I know what your config looks >>> like, but I have a function setup to change the focus from tiled to >>> floating windows here: >>> https://github.com/jrwrigh/dotfiles2.0/blob/46818a2c69cd5f845e5244b9102cddd0bebaae28/.config/qtile/functions.py#L146-L167 >>> >>> Not sure if that helps or not. >>> >>> On Thursday, January 20, 2022 at 1:58:30 PM UTC-7 David Budzynski wrote: >>> >>>> Hi, is there's something wrong with my config or can you not switch >>>> between tiled windows in Monad Tall layout and a floating window? What can >>>> I do in case that floating window ends up being covered by tiled one? how >>>> can I switch focus between them? >>>> >>> -- 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/cd059130-3ef5-4ec1-8738-1f9bbbd9aa5en%40googlegroups.com.
