diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2022-06-23 01:01:02 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2022-06-23 01:01:02 +0200 |
commit | 7762c3b4f10ec8abe5b99f30ee07fcb0e126e9b0 (patch) | |
tree | 22b7385a97544c347ef47f1d1aab1670bcf4bb11 | |
parent | 3aad5d269102f786955835001a8b60baeaa1510c (diff) | |
download | dotfiles-7762c3b4f10ec8abe5b99f30ee07fcb0e126e9b0.tar.gz dotfiles-7762c3b4f10ec8abe5b99f30ee07fcb0e126e9b0.zip |
make changes in qtile conig
-rw-r--r-- | .config/qtile/config.py | 12 |
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 | ||
102 | groups = [Group(i) for i in groups_names] | 102 | groups = [Group(i) for i in groups_names] |
103 | abc = 0 | 103 | for i, group in enumerate(groups): |
104 | for 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 | ||