W dniu 26.03.2011 14:12, Anurag Priyam pisze:
> On Sat, Mar 26, 2011 at 3:41 AM, Oon-Ee Ng <[email protected]> wrote:
>> Currently I'm using this for Pidgin:-
>>
>> { rule = { class = "Pidgin" , role = "conversation" },
>> properties = { tag = tags[1][4] } },
>> { rule = { class = "Pidgin" , role = "buddy_list" },
>> properties = { tag = tags[1][4] } },
>
> [...]
>
>> Is there a more concise way to do the above? Can I either (this is not
>> valid AFAIK):-
>
> Don't fix it if it ain't broken :).
Hmm I think that it was just an example :-P
>> { rule = { class = "Pidgin" , role = "conversation" OR "buddy_list" },
>> properties = { tag = tags[1][4] } },
>
> Give rule_any a try. Something like this (untested):
>
> { rule_any = { role = {"conversation", "buddy_list"} },
> properties = { tag = tags[1][4] } },
You still need to provide a list of roles you want/need to match. The
problem was how to make a negative match.
I have another (better?) example: I want to make all Firefox windows
floating except ones with instance "Navigator" (all preferences,
downloads any any window created by some plugin should be floating).
--
Grzegorz Dzięgielewski
http://jabbas.pl
--
To unsubscribe, send mail to [email protected].