Есть каноничный конфиг из доков XMonad. Но не работает :(
-----------------------------
-- XMonad config for T91MT --
-----------------------------
import XMonad
import XMonad.Config.Gnome
import XMonad.Layout.Tabbed
import XMonad.Util.EZConfig (additionalKeys)
import XMonad.ManageHook
main = xmonad $ gnomeConfig {
manageHook = myManageHook <+> manageHook gnomeConfig
, layoutHook = gnomeLayoutModifiers $ simpleTabbed ||| Tall 1 0.03 0.5
}
---------------------------------------------------------------------------
`additionalKeys` [ ((mod4Mask, xK_F8), spawn "scrot") ]
---------------------------------------------------------------------------
myManageHook = composeAll
[ className =? "111" --> doFloat
, className =? "222" --> doFloat
, className =? "333" --> doFloat
, className =? "444" --> doFloat
]
xterm@t91mt:~$ xmonad --recompile
Error detected while loading xmonad configuration file: /home/xterm/.xmonad/xmonad.hs
xmonad.hs:25:18: parse error on input `='
Please check the file for errors.
Ругается на "=", в строчке myManageHook = composeAll
Почему?