
Quoting "Pablo Olmos de Aguilera C."
I want to apply a similar configuration to some specific "children" from a window. I've been mixing managehooks, but looks very repetitive.
composeAll [ className =? "Xfce4-panel" <&&> title =? "Panel" --> doFloat , className =? "Xfce4-panel" <&&> title =? "Add New Items" --> doFloat ...... ] <+>
Which strategy should I use to make the same className applies to different titles?
How about this? floatPanel t = className =? "Xfce4-panel" <&&> title =? t --> doFloat and then, in your manage hook, composeAll [ floatPanel "Panel", floatPanel "Add New Items", .... ] Of course floatPanel can be generalized or specialized in a couple million different ways, depending on exactly what you want to do. ~d