Skip to content

Instantly share code, notes, and snippets.

@dpwiz
Created March 3, 2012 18:38
Show Gist options
  • Save dpwiz/1967358 to your computer and use it in GitHub Desktop.
Save dpwiz/1967358 to your computer and use it in GitHub Desktop.
My XMonad config
-- https://gist.github.com/1967358
import XMonad
import XMonad.Config.Xfce
import XMonad.Util.CustomKeys
import qualified Data.Map as M
main = xmonad xfceConfig {
modMask = mod4Mask,
terminal = "x-terminal-emulator",
keys = customKeys delKeys insKeys
}
delKeys XConfig {modMask = modm} =
[ (modm, xK_p)
, (modm, xK_t)
]
insKeys XConfig {modMask = modm} =
[ ((modm, xK_p), spawn "dmenu_run -b")
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment