qtile: add switch to window keybind description

This commit is contained in:
Guilherme Rugai Freire 2021-08-08 19:52:41 -03:00
parent 595388e78c
commit 37e2957a7b
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

View File

@ -110,10 +110,10 @@ groups = [Group(name, **kwargs) for name, kwargs in group_names]
for i, (name, kwargs) in enumerate(group_names, 1):
# Switch to another group
keys.append(Key([MOD], str(i), lazy.group[name].toscreen()))
keys.append(Key([MOD], str(i), lazy.group[name].toscreen(), desc=f"Switch to group {name}"))
# Send current window to another group
keys.append(Key([MOD, "shift"], str(i), lazy.window.togroup(name)))
keys.append(Key([MOD, "shift"], str(i), lazy.window.togroup(name), desc=f"Send current window to group {name}"))
colors = {