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 :).
> { 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] } },
[1] http://awesome.naquadah.org/doc/api/modules/awful.rules.html
--
Anurag Priyam
http://about.me/yeban/
--
To unsubscribe, send mail to [email protected].