0

So I have xmonad running remotely. All is good and I'm using the Win key instead of Alt. The problem is, when I want to resize an xmonad window with Alt+L, this locks the screen in my Windows desktop. How can I rebind Alt+L to something like Alt+Shift+H?

dmvianna
  • 15,088
  • 18
  • 77
  • 106

1 Answers1

1

You can see the source code for the default mappings here. To rebind the Alt+L key to Alt+Shift+H you can use the additionalKeys function to add new key bindings to your config:

import XMonad.Util.EZConfig

main = xmonad $ defaultConfig {
         ...
     } `additionalKeys` [
        ((shiftMask .|. mod1Mask, xK_h), sendMessage Expand)
     ]
jesterjunk
  • 2,342
  • 22
  • 18
fimad
  • 346
  • 2
  • 7