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

@@ -42,7 +42,7 @@ import Data.Maybe
--
-- and add a keybinding to the runCommand action:
--
-- > , ((modMask .|. controlMask, xK_y), runCommand)
-- > , ((modMask .|. controlMask, xK_y), runCommand commands)
--
-- and define the list commands:
--
@@ -54,6 +54,11 @@ import Data.Maybe
-- 'commands'. (If you like it enough, you may even want to get rid
-- of many of your other key bindings!)
-- %def commands :: [(String, X ())]
-- %def commands = defaultCommands
-- %import XMonadContrib.Commands
-- %keybind , ((modMask .|. controlMask, xK_y), runCommand commands)
commandMap :: [(String, X ())] -> M.Map String (X ())
commandMap c = M.fromList c