Error detected while loading xmonad configuration file: /home/dan/.xmonad/xmonad.hs xmonad.hs:288:29: Couldn't match expected type `Event' against inferred type `XConfig l' Probable cause: `myEventHook' is applied to too few arguments In the `handleEventHook' field of a record In the expression: defaultConfig {terminal = myTerminal, focusFollowsMouse = myFocusFollowsMouse, borderWidth = myBorderWidth, modMask = myModMask, numlockMask = myNumlockMask, workspaces = myWorkspaces, normalBorderColor = myNormalBorderColor, focusedBorderColor = myFocusedBorderColor, keys = myKeys, mouseBindings = myMouseBindings, layoutHook = myLayout, manageHook = myManageHook, handleEventHook = myEventHook, logHook = myLogHook, startupHook = myStartupHook} Please check the file for errors.