Fix group keys

This commit is contained in:
Tipragot 2023-09-09 12:33:06 +02:00
parent 774dfa7f34
commit 8895f2827b
No known key found for this signature in database

View file

@ -50,8 +50,8 @@ keys = [
for i, name in enumerate(group_names): for i, name in enumerate(group_names):
keys.extend( keys.extend(
[ [
Key([MOD], str(i), lazy.group[name].toscreen(), desc=f"Switch to group {name}"), Key([MOD], str(i+1), lazy.group[name].toscreen(), desc=f"Switch to group {name}"),
Key([MOD, SHIFT], str(i), lazy.window.togroup(name, switch_group=True), desc=f"Switch to & move focused window to group {name}"), Key([MOD, SHIFT], str(i+1), lazy.window.togroup(name, switch_group=True), desc=f"Switch to & move focused window to group {name}"),
] ]
) )