dmvianna
dmvianna

Reputation: 15730

Xmonad Win-L conflicts with Windows desktop

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

Answers (1)

fimad
fimad

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

Related Questions