I'm using xmonad with the following layouts:
globalLayout = avoidStruts (tiled ||| Mirror tiled ||| Full ||| threeColMid ||| combine) ||| Full
and I have set my mod + space key to switch between the layouts by:
, ((modm, xK_space ), sendMessage NextLayout)
Now I want to bind my CapsLock key to toggle the Full mode. How can I do that? (Maybe with setLayout?)