See my comment on the issue Tycho mentioned above. Does it help to replace lists with strings for the Match parameters? I'm semi-randomly guessing since I don't use these features.
Le mer. 3 mars 2021 à 16:46, Tycho Andersen <[email protected]> a écrit : > On Wed, Mar 03, 2021 at 01:56:57PM +1100, Steven Joseph wrote: > > And this is the error I get now > > > > TypeError: 'in <string>' requires string as left operand, not list > > 2021-03-03 13:56:13,164 INFO libqtile hooks.py:set_groups():L104 Matching > > <Rule match=[<Match {'title': ['.*krusader.*'], 'wm_class': [ > > 'Krusader']}>] actions=(group=krusader, break_on_match=True)> > > 2021-03-03 13:56:13,164 ERROR libqtile hooks.py:set_groups():L146 error > > setting rules > > Traceback (most recent call last): > > File "/home/steven/.config/qtile/hooks.py", line 106, in set_groups > > if rule.matches(client): > > File > > "/home/steven/.local/lib/python3.9/site-packages/libqtile/config.py", > line > > 683, in matches > > return any(w.match(m) for m in self.matchlist) > > File > > "/home/steven/.local/lib/python3.9/site-packages/libqtile/config.py", > line > > 683, in <genexpr> > > return any(w.match(m) for m in self.matchlist) > > File > > "/home/steven/.local/lib/python3.9/site-packages/libqtile/window.py", > line > > 1056, in match > > return match.compare(self) > > File > > "/home/steven/.local/lib/python3.9/site-packages/libqtile/config.py", > line > > 639, in compare > > if not match(rule_value): > > File > > "/home/steven/.local/lib/python3.9/site-packages/libqtile/config.py", > line > > 615, in predicate > > return match(value) > > File > > "/home/steven/.local/lib/python3.9/site-packages/libqtile/config.py", > line > > 614, in <lambda> > > match = getattr(other, 'match', lambda v: other in v) > > A search on the issue tracker reveals: > > https://github.com/qtile/qtile/issues/2089 > > Tycho > > -- > You received this message because you are subscribed to the Google Groups > "qtile-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/qtile-dev/20210303154542.GJ421111%40cisco > . > -- Guillaume Gelin -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/CAPn4x%2BpvZBbDD1HWoopC61yXzN0kex0GuihOaFNzsaxwHcq3%3DQ%40mail.gmail.com.
