aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2009-11-11 01:32:56 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2009-11-11 01:32:56 +0100
commitb29dbd6f2e9648ebb9759e7db82c4c435a0f2831 (patch)
tree01c78b6c5691def6aeb85f480bc7c13bbd73c0cb
parenta5c6b3dcc4d33bc81d55c3ba08a8e333400c4c65 (diff)
downloadXMonadContrib-b29dbd6f2e9648ebb9759e7db82c4c435a0f2831.tar.gz
XMonadContrib-b29dbd6f2e9648ebb9759e7db82c4c435a0f2831.tar.xz
XMonadContrib-b29dbd6f2e9648ebb9759e7db82c4c435a0f2831.zip
X.A.WindowGo: fix haddock markup
Ignore-this: c6a06de900ca8b67498abf5152e3d9ea darcs-hash:20091111003256-25a6b-6b886408b007f0684aafbd9661d030583a326adb.gz
-rw-r--r--XMonad/Actions/WindowGo.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/XMonad/Actions/WindowGo.hs b/XMonad/Actions/WindowGo.hs
index 034b9e5..7033b3a 100644
--- a/XMonad/Actions/WindowGo.hs
+++ b/XMonad/Actions/WindowGo.hs
@@ -58,8 +58,9 @@ and define appropriate key bindings:
(Note that Firefox v3 and up have a class-name of \"Firefox\" and \"Navigator\";
lower versions use other classnames such as \"Firefox-bin\". Either choose the
-appropriate one, or cover your bases by using instead something like
- @(className =? \"Firefox\" <||> className =? \"Firefox-bin\")@.)
+appropriate one, or cover your bases by using instead something like:
+
+> (className =? "Firefox" <||> className =? "Firefox-bin")
For detailed instructions on editing your key bindings, see
"XMonad.Doc.Extending#Editing_key_bindings". -}
@@ -171,14 +172,14 @@ runOrRaiseAndDo = raiseAndDo . safeSpawnProg
{- | if the window is found the window is focused and set to master
otherwise, the first argument is called.
- > raiseMaster (runInTerm \"-title ghci\" \"zsh -c \'ghci\'\") (title =? \"ghci\") -}
+ > raiseMaster (runInTerm "-title ghci" "zsh -c 'ghci'") (title =? "ghci") -}
raiseMaster :: X () -> Query Bool -> X ()
raiseMaster raisef thatUserQuery = raiseAndDo raisef thatUserQuery (\_ -> windows W.swapMaster)
{- | If the window is found the window is focused and set to master
otherwise, action is run.
- > runOrRaiseMaster \"firefox\" (className =? \"Firefox\"))
+ > runOrRaiseMaster "firefox" (className =? "Firefox"))
-}
runOrRaiseMaster :: String -> Query Bool -> X ()
runOrRaiseMaster run query = runOrRaiseAndDo run query (\_ -> windows W.swapMaster)