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)

On Wed, Mar 3, 2021 at 1:55 PM Steven Joseph <[email protected]>
wrote:

> No my dgroups work fine on startup .
>
> Thing is I want to re apply them, restarting does not seem to reapply them.
>
> I had something that used to work but its broken since a few releases
>
> https://gitlab.com/asyncmind/qtile_config/-/blob/master/hooks.py#L101
>
> Steven
>
> On Wed, Mar 3, 2021 at 1:01 AM Tycho Andersen <[email protected]> wrote:
>
>> On Mon, Mar 01, 2021 at 09:11:50PM -0800, jagguli wrote:
>> > Currently AFAIK dgroup rules are only applied on startup.
>> > I would like to be able to apply those rules on key press.
>> >
>> > The dgroup code does not look like it does allow for it to be reinvoked.
>>
>> Can you give an example of some configuration that is not working the
>> way you think it should? My dgroups rules work just fine after
>> startup.
>>
>> Tycho
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "qtile-dev" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/qtile-dev/0C8PD6W5z0M/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/qtile-dev/20210302140058.GC421111%40cisco
>> .
>>
>

-- 
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/CABPOhb4SLpuQVH0MxKuE%3Dh5icN-5naF-WBOK5QCDNBAR-G6AiA%40mail.gmail.com.

Reply via email to