
Le 26/12/2014 03:10, Brandon Allbery a écrit :
On Thu, Dec 25, 2014 at 9:06 PM, Brandon Allbery
wrote: Replace 'keys defaultConfig' with 'keys azertyConfig'.
You can also, by the way, combine the two record updates (I didn't even know you could chain them that way).
main=do xmonad azertyConfig { layoutHook=avoidStruts $ layoutHook defaultConfig , manageHook=manageHook defaultConfig <+> manageDocks , keys = myKeys <+> keys azertyConfig }
Also, for what it's worth, I have a global binding like
baseConfig = azertyConfig
and then use baseConfig for those field lookups (e.g. `keys baseConfig`), so it's easy to switch everything to a different config just by changing the baseConfig binding.
Thanks a lot for your answer. It worked out of the box. Best wishes for the new year. Alain