Skip to content

Instantly share code, notes, and snippets.

@nekolinuxblog
Last active December 29, 2015 06:09
Show Gist options
  • Save nekolinuxblog/7627320 to your computer and use it in GitHub Desktop.
Save nekolinuxblog/7627320 to your computer and use it in GitHub Desktop.
keys :: XConfig Layout -> M.Map (KeyMask, KeySym) (X ())
keys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
[ ((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
, ..
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment