Reputation: 15730
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?
Upvotes: 0
Views: 210
Reputation: 346
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)
]
Upvotes: 1