Modifying the default Mod key in XMonad

By default, said Mod key is left Alt, which might/will conflict at some point
in time with other shortcuts. Create ~/.xmonad/xmonad.hs if it doesn’t already exist, and add this:

import XMonad
 
main = xmonad defaultConfig
         { modMask = mod4Mask #The Winkey
         , terminal = "mrxvt" #Edit to taste
         }

Restart XMonad and you’re set. You might be interested in the
keybindings or a sample xmonad.hs

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s