From 398935f205e0442e386505df2f28b191c2cfd078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eahin=20Akkaya?= Date: Fri, 25 Mar 2022 16:00:05 +0300 Subject: [PATCH] Use a single list for wm_classes as it also works --- .config/qtile/modules/groups.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/qtile/modules/groups.py b/.config/qtile/modules/groups.py index 44af9cf..e638bbe 100644 --- a/.config/qtile/modules/groups.py +++ b/.config/qtile/modules/groups.py @@ -5,16 +5,16 @@ from .keys import keys, mod groups = [Group(i) for i in "1234567890"] -browsers = [Match(wm_class="firefox"), Match(wm_class="Google-chrome")] +browsers = [Match(wm_class=["firefox", "Google-chrome"])] file_managers = [Match(wm_class="Thunar")] -video_players = [Match(wm_class="streamlink-twitch-gui"), Match(wm_class="mpv")] +video_players = [Match(wm_class=["streamlink-twitch-gui", "mpv"])] groups = [ Group("1"), Group("2", matches=[Match(wm_class="VirtualBox Manager")]), Group("3", matches=[Match(wm_class="Thunderbird")]), Group("4", matches=[Match(wm_class="st-256color")]), Group("5", matches=file_managers), - Group("6"), + Group("6", matches=[Match(wm_class="ModernDeck")]), Group("7", matches=browsers), Group("8", matches=video_players), Group("9"),