aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2007-11-27 20:39:48 +0100
committerBrent Yorgey <byorgey@gmail.com>2007-11-27 20:39:48 +0100
commit0f4a6edbc5a9602515147700a18a0e85a6552da8 (patch)
tree011eb306c3c9c942ec439cacf21308f99cad266d /XMonad
parentef3313d9b698172a8d81cea7b4fd74878c6b6709 (diff)
downloadXMonadContrib-0f4a6edbc5a9602515147700a18a0e85a6552da8.tar.gz
XMonadContrib-0f4a6edbc5a9602515147700a18a0e85a6552da8.tar.xz
XMonadContrib-0f4a6edbc5a9602515147700a18a0e85a6552da8.zip
WindowBringer: haddock updates
darcs-hash:20071127193948-bd4d7-daee12c89cbf341793e8f5a2559fe2f5b107d372.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Actions/WindowBringer.hs18
1 files changed, 9 insertions, 9 deletions
diff --git a/XMonad/Actions/WindowBringer.hs b/XMonad/Actions/WindowBringer.hs
index bec4f0a..7ce8391 100644
--- a/XMonad/Actions/WindowBringer.hs
+++ b/XMonad/Actions/WindowBringer.hs
@@ -34,18 +34,18 @@ import XMonad.Util.NamedWindows (getName)
-- $usage
--
--- Place in your Config.hs:
+-- Import the module into your @~\/.xmonad\/xmonad.hs@:
--
-- > import XMonad.Actions.WindowBringer
--
--- and in the keys definition:
+-- and define appropriate key bindings:
--
--- > , ((modMask .|. shiftMask, xK_g ), gotoMenu)
--- > , ((modMask .|. shiftMask, xK_b ), bringMenu)
+-- > , ((modMask x .|. shiftMask, xK_g ), gotoMenu)
+-- > , ((modMask x .|. shiftMask, xK_b ), bringMenu)
+--
+-- For detailed instructions on editing your key bindings, see
+-- "XMonad.Doc.Extending#Editing_key_bindings".
--- %import XMonad.Actions.WindowBringer
--- %keybind , ((modMask .|. shiftMask, xK_g ), gotoMenu)
--- %keybind , ((modMask .|. shiftMask, xK_b ), bringMenu)
-- | Pops open a dmenu with window titles. Choose one, and you will be
-- taken to the corresponding workspace.
@@ -65,8 +65,8 @@ bringMenu = windowMap >>= actionMenu (windows . bringWindow)
actionMenu :: (a -> X ()) -> M.Map String a -> X ()
actionMenu action windowMap = dmenuMap windowMap >>= flip X.whenJust action
--- | Generates a Map from window name to <whatever you specify>. For use with
--- dmenuMap.
+-- | Generates a Map from window name to \<whatever you specify\>. For
+-- use with dmenuMap.
windowMapWith :: ((X.WindowSpace, Window) -> a) -> X (M.Map String a)
windowMapWith value = do -- TODO: extract the pure, creamy center.
ws <- gets X.windowset