load somes clientlist from pattrstorage to umenu ?

Dec 20, 2012 at 3:00pm

load somes clientlist from pattrstorage to umenu ?

Hi,

I know to load all the clientlist from pattrstorage to umenu.
But, in reality, I need to load just a part of the list (clients in 1 abstraction).
For exemple, for a patch that contain the abstraction “module”, the pattrstorage have 6 clients :
red
green
blue
module::red
module::green
module::blue

I want just to load 3 clients, from the abstraction, to the umenu :
module::red
module::green
module::blue

How to filter this list ?

Best regard

All

#65769
Dec 20, 2012 at 5:35pm

Zl.iter and regex are your friends ;)

J

#236899
Dec 22, 2012 at 9:06pm

Hi,

Thank you.
I have my solution…

All

#236900

You must be logged in to reply to this topic.