documentation: tell where to find a few auxiliary functions that might be useful in conjunction with X.A.DynamicWorkspaces

This commit is contained in:
Daniel Wagner 2011-04-15 22:48:46 +00:00
parent 08c4c09fc5
commit 29cad0672e

View File

@ -35,6 +35,11 @@ import Data.List (find)
import Data.Maybe (isNothing) import Data.Maybe (isNothing)
import Control.Monad (when) import Control.Monad (when)
-- The following imports are to allow haddock to find links for documentation
-- only.
import XMonad.Actions.CopyWindow (copy)
import XMonad.Prompt (defaultXPConfig)
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file:
-- --
@ -56,7 +61,8 @@ import Control.Monad (when)
-- > zip (zip (repeat (modm .|. shiftMask)) [xK_1..xK_9]) (map (withNthWorkspace W.shift) [0..]) -- > zip (zip (repeat (modm .|. shiftMask)) [xK_1..xK_9]) (map (withNthWorkspace W.shift) [0..])
-- --
-- For detailed instructions on editing your key bindings, see -- For detailed instructions on editing your key bindings, see
-- "XMonad.Doc.Extending#Editing_key_bindings". -- "XMonad.Doc.Extending#Editing_key_bindings". See also the documentation for
-- 'copy', 'windows', 'shift', and 'defaultXPConfig'.
data Wor = Wor String data Wor = Wor String