As you've probably guessed, by setting keys = myKeys
in the main function, what you've done is to override the default settings. You can add your keys using the additionalKeys
operator, like so:
main =
xmonad $ desktopConfig `additionalKeys` myKeys
Or, if you have some other customisations to desktopConfig,
main =
xmonad $ desktopConfig
{
-- other customisations
} `additionalKeys` myKeys