[xmonad] Same className, different titles --> same managehook

Pablo Olmos de Aguilera C. pablo at glatelier.org
Sat Oct 27 19:07:29 CEST 2012


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?

Regards,
--
Pablo Olmos de Aguilera Corradini - @PaBLoX
http://www.glatelier.org/
http://about.me/pablox/
http://www.linkedin.com/in/pablooda/
Linux User: #456971 - http://counter.li.org/



More information about the xmonad mailing list