summaryrefslogtreecommitdiffstats
path: root/.config/qtile/config.py
diff options
context:
space:
mode:
Diffstat (limited to '.config/qtile/config.py')
-rw-r--r--.config/qtile/config.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index f357067..d93bf88 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -100,15 +100,13 @@ groups_names = [
100] 100]
101 101
102groups = [Group(i) for i in groups_names] 102groups = [Group(i) for i in groups_names]
103abc = 0 103for i, group in enumerate(groups):
104for i in groups:
105 abc += 1
106 keys.extend([ 104 keys.extend([
107 Key([mod], str(abc), lazy.group[i.name].toscreen(), 105 Key([mod], str(i), lazy.group[group.name].toscreen(),
108 desc="Switch to group {}".format(i.name)), 106 desc="Switch to group {}".format(group.name)),
109 107
110 Key([mod, "shift"], str(abc), lazy.window.togroup(i.name, switch_group=True), 108 Key([mod, "shift"], str(i), lazy.window.togroup(group.name, switch_group=True),
111 desc="Switch to & move focused window to group {}".format(i.name)), 109 desc="Switch to & move focused window to group {}".format(group.name)),
112 ]) 110 ])
113 111
114 112