Docstring parser for generating xmonad build configs with default settings for extensions

This commit is contained in:
Alex Tarkovsky
2007-09-05 20:01:28 +00:00
parent 39180985fb
commit d0adeca94a
37 changed files with 360 additions and 9 deletions

View File

@@ -43,6 +43,14 @@ anyModifier will not work, because that is a special value passed to XGrabKey()
and not an actual modifier.
-}
-- %import XMonadContrib.Submap
-- %keybind , ((modMask, xK_a), submap . M.fromList $
-- %keybind [ ((0, xK_n), spawn "mpc next")
-- %keybind , ((0, xK_p), spawn "mpc prev")
-- %keybind , ((0, xK_z), spawn "mpc random")
-- %keybind , ((0, xK_space), spawn "mpc toggle")
-- %keybind ])
submap :: M.Map (KeyMask, KeySym) (X ()) -> X ()
submap keys = do
XConf { theRoot = root, display = d } <- ask