[xmonad] layoutHook, manageHook: how to use with others
Igor 'Lo' (И.L.)
bombsiteunrested at gmail.com
Wed Jan 19 14:06:55 CET 2011
Hi all,
I have:
myLayout = spiral (6/7) ||| tiled ||| Mirror tiled
main = xmonad defaultConfig {
..
-- hooks, layouts
layoutHook = showWName myLayout,
manageHook = composeOne [
isFullscreen -?> doFullFloat
],
..
}
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?
cheers,
Igor
More information about the xmonad
mailing list