yo can use toggle=false in your group keys like this

for i in groups:
keys.append(Key([mod], i.name, lazy.group[i.name].toscreen(toggle=False)))
keys.append(Key([mod, 'shift'], i.name, lazy.window.togroup(i.name)))
return keys

This way, you will not toggle between the last group

On Tuesday, October 19, 2021 at 7:39:06 AM UTC-5 [email protected] wrote:

> Am I right that there is no current method of avoiding the following 
> situation?
>
> If for example I'm on a group "1" and move to group "2" and then I hit 
> mod+2 while still on group "'2", it toggles back to group "1" instead of 
> staying on group "2".
>
> Thanks,
> -Luc
>

-- 
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/c7d9bae7-734c-4b28-9219-27b789080d18n%40googlegroups.com.

Reply via email to