From b29dbd6f2e9648ebb9759e7db82c4c435a0f2831 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Wed, 11 Nov 2009 01:32:56 +0100 Subject: X.A.WindowGo: fix haddock markup Ignore-this: c6a06de900ca8b67498abf5152e3d9ea darcs-hash:20091111003256-25a6b-6b886408b007f0684aafbd9661d030583a326adb.gz --- XMonad/Actions/WindowGo.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'XMonad/Actions') 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) -- cgit v1.2.3