[xmonad] layoutHook, manageHook: how to use with others

Adam Vogt vogt.adam at gmail.com
Fri Jan 21 01:00:47 CET 2011


* On Wednesday, January 19 2011, Igor 'Lo' (И.L.) wrote:

>Hi all,
..
>Is it correct to add docks support as:
>
>main = xmonad defaultConfig {
>..
>      -- hooks, layouts
>        layoutHook         = avoidStruts $ showWName myLayout,
>        manageHook         = composeOne [
>                isFullscreen -?> doFullFloat
>        ] <+> manageDocks,
>..
>    }
>
>How to unite multiple layout/manage hooks? What is correct Haskell syntax?

That is correct. If you're getting syntax or type errors, that may have to 
do with the part that's left out (the ..).

Adam



More information about the xmonad mailing list