Fixes typos in Actions.Launcher haddock documentation

This commit is contained in:
c.lopez
2012-08-11 11:25:02 +00:00
parent b5f9a61dbe
commit 8f9fa05c0f

View File

@@ -46,7 +46,7 @@ import XMonad.Util.Run
> import XMonad.Prompt(defaultXPConfig)
> import XMonad.Actions.Launcher
> ((modm .|. controlMask, xK_l), launcherPrompt kmelsXPConfig $ defaultLauncherModes launcherConfig)
> ((modm .|. controlMask, xK_l), launcherPrompt defaultXPConfig $ defaultLauncherModes launcherConfig)
A LauncherConfig contains settings for the default modes, modify them accordingly.
@@ -56,6 +56,7 @@ import XMonad.Util.Run
extensionActions = M.fromList $ [
(\".hs\", \p -> spawn $ \"emacs \" ++ p)
, (\".pdf\", \p -> spawn $ \"acroread \" ++ p)
, (\".mkv\", \p -> spawn $ \"vlc \" ++ p)
, (\".*\", \p -> spawn $ \"emacs \" ++ p) --match with any files
, (\"/\", \p -> spawn $ \"nautilus \" ++ p) --match with directories
]@