From b1b3c4c469ae859dd692e5151d5c73be3f14d89b Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Fri, 22 Dec 2023 18:16:07 +0100 Subject: [PATCH] ~/.xmonad/xmonad.hs -> xmonad.hs With XDG support so firmly ingrained now, it's about time we stop hard-coding the configuration path in the docs. --- XMonad/Actions/AfterDrag.hs | 2 +- XMonad/Actions/BluetileCommands.hs | 2 +- XMonad/Actions/Commands.hs | 2 +- XMonad/Actions/ConstrainedResize.hs | 2 +- XMonad/Actions/CopyWindow.hs | 2 +- XMonad/Actions/CycleRecentWS.hs | 2 +- XMonad/Actions/CycleSelectedLayouts.hs | 2 +- XMonad/Actions/CycleWS.hs | 2 +- XMonad/Actions/CycleWindows.hs | 2 +- XMonad/Actions/DeManage.hs | 2 +- XMonad/Actions/DwmPromote.hs | 2 +- XMonad/Actions/DynamicWorkspaceGroups.hs | 2 +- XMonad/Actions/DynamicWorkspaceOrder.hs | 2 +- XMonad/Actions/DynamicWorkspaces.hs | 2 +- XMonad/Actions/EasyMotion.hs | 2 +- XMonad/Actions/FindEmptyWorkspace.hs | 2 +- XMonad/Actions/FlexibleManipulate.hs | 2 +- XMonad/Actions/FlexibleResize.hs | 2 +- XMonad/Actions/FloatKeys.hs | 2 +- XMonad/Actions/FloatSnap.hs | 2 +- XMonad/Actions/FocusNth.hs | 2 +- XMonad/Actions/GridSelect.hs | 2 +- XMonad/Actions/GroupNavigation.hs | 6 +++--- XMonad/Actions/LinkWorkspaces.hs | 2 +- XMonad/Actions/MessageFeedback.hs | 2 +- XMonad/Actions/MouseGestures.hs | 2 +- XMonad/Actions/MouseResize.hs | 2 +- XMonad/Actions/Navigation2D.hs | 2 +- XMonad/Actions/OnScreen.hs | 2 +- XMonad/Actions/PerLayoutKeys.hs | 2 +- XMonad/Actions/PerWindowKeys.hs | 2 +- XMonad/Actions/PerWorkspaceKeys.hs | 2 +- XMonad/Actions/PhysicalScreens.hs | 2 +- XMonad/Actions/Plane.hs | 2 +- XMonad/Actions/Promote.hs | 2 +- XMonad/Actions/RotateSome.hs | 2 +- XMonad/Actions/ShowText.hs | 2 +- XMonad/Actions/Sift.hs | 2 +- XMonad/Actions/SimpleDate.hs | 2 +- XMonad/Actions/SinkAll.hs | 2 +- XMonad/Actions/SpawnOn.hs | 2 +- XMonad/Actions/Submap.hs | 5 +---- XMonad/Actions/SwapWorkspaces.hs | 2 +- XMonad/Actions/TagWindows.hs | 2 +- XMonad/Actions/TiledWindowDragging.hs | 2 +- XMonad/Actions/TopicSpace.hs | 2 +- XMonad/Actions/UpdateFocus.hs | 2 +- XMonad/Actions/UpdatePointer.hs | 2 +- XMonad/Actions/Warp.hs | 2 +- XMonad/Actions/WindowBringer.hs | 2 +- XMonad/Actions/WindowGo.hs | 2 +- XMonad/Actions/WindowMenu.hs | 2 +- XMonad/Actions/WithAll.hs | 2 +- XMonad/Actions/Workscreen.hs | 2 +- XMonad/Actions/WorkspaceNames.hs | 2 +- XMonad/Config/Arossato.hs | 4 ++-- XMonad/Config/Azerty.hs | 2 +- XMonad/Config/Bepo.hs | 2 +- XMonad/Config/Bluetile.hs | 2 +- XMonad/Config/Desktop.hs | 4 ++-- XMonad/Config/Gnome.hs | 2 +- XMonad/Config/Kde.hs | 2 +- XMonad/Config/LXQt.hs | 2 +- XMonad/Config/Mate.hs | 2 +- XMonad/Config/Prime.hs | 2 +- XMonad/Config/Xfce.hs | 2 +- XMonad/Doc/Developing.hs | 6 +++--- XMonad/Doc/Extending.hs | 4 ++-- XMonad/Hooks/CurrentWorkspaceOnTop.hs | 2 +- XMonad/Hooks/DynamicLog.hs | 2 +- XMonad/Hooks/EwmhDesktops.hs | 2 +- XMonad/Hooks/FadeInactive.hs | 2 +- XMonad/Hooks/FloatNext.hs | 2 +- XMonad/Hooks/InsertPosition.hs | 2 +- XMonad/Hooks/ManageDocks.hs | 2 +- XMonad/Hooks/Minimize.hs | 2 +- XMonad/Hooks/OnPropertyChange.hs | 2 +- XMonad/Hooks/Place.hs | 2 +- XMonad/Hooks/PositionStoreHooks.hs | 2 +- XMonad/Hooks/Rescreen.hs | 2 +- XMonad/Hooks/ServerMode.hs | 2 +- XMonad/Hooks/SetWMName.hs | 2 +- XMonad/Hooks/ShowWName.hs | 2 +- XMonad/Hooks/StatusBar.hs | 2 +- XMonad/Hooks/StatusBar/WorkspaceScreen.hs | 2 +- XMonad/Hooks/ToggleHook.hs | 2 +- XMonad/Hooks/WindowSwallowing.hs | 2 +- XMonad/Hooks/WorkspaceByPos.hs | 2 +- XMonad/Hooks/WorkspaceHistory.hs | 2 +- XMonad/Hooks/XPropManage.hs | 2 +- XMonad/Layout/Accordion.hs | 2 +- XMonad/Layout/AvoidFloats.hs | 2 +- XMonad/Layout/BinarySpacePartition.hs | 2 +- XMonad/Layout/BorderResize.hs | 2 +- XMonad/Layout/BoringWindows.hs | 2 +- XMonad/Layout/ButtonDecoration.hs | 2 +- XMonad/Layout/CenteredIfSingle.hs | 2 +- XMonad/Layout/Circle.hs | 2 +- XMonad/Layout/Combo.hs | 2 +- XMonad/Layout/ComboP.hs | 2 +- XMonad/Layout/Cross.hs | 2 +- XMonad/Layout/DecorationMadness.hs | 2 +- XMonad/Layout/Dishes.hs | 2 +- XMonad/Layout/DragPane.hs | 2 +- XMonad/Layout/Drawer.hs | 2 +- XMonad/Layout/DwmStyle.hs | 2 +- XMonad/Layout/FixedAspectRatio.hs | 2 +- XMonad/Layout/FixedColumn.hs | 2 +- XMonad/Layout/Gaps.hs | 2 +- XMonad/Layout/Grid.hs | 2 +- XMonad/Layout/Groups/Examples.hs | 2 +- XMonad/Layout/Groups/Helpers.hs | 2 +- XMonad/Layout/Groups/Wmii.hs | 2 +- XMonad/Layout/Hidden.hs | 2 +- XMonad/Layout/HintedGrid.hs | 2 +- XMonad/Layout/HintedTile.hs | 2 +- XMonad/Layout/IM.hs | 2 +- XMonad/Layout/ImageButtonDecoration.hs | 2 +- XMonad/Layout/IndependentScreens.hs | 2 +- XMonad/Layout/LayoutBuilder.hs | 2 +- XMonad/Layout/LayoutCombinators.hs | 2 +- XMonad/Layout/LayoutHints.hs | 2 +- XMonad/Layout/LayoutScreens.hs | 2 +- XMonad/Layout/LimitWindows.hs | 2 +- XMonad/Layout/MagicFocus.hs | 2 +- XMonad/Layout/Magnifier.hs | 2 +- XMonad/Layout/Master.hs | 2 +- XMonad/Layout/Maximize.hs | 2 +- XMonad/Layout/MessageControl.hs | 2 +- XMonad/Layout/Minimize.hs | 2 +- XMonad/Layout/Monitor.hs | 2 +- XMonad/Layout/Mosaic.hs | 2 +- XMonad/Layout/MosaicAlt.hs | 2 +- XMonad/Layout/MouseResizableTile.hs | 2 +- XMonad/Layout/MultiColumns.hs | 2 +- XMonad/Layout/MultiDishes.hs | 2 +- XMonad/Layout/Named.hs | 2 +- XMonad/Layout/NoBorders.hs | 2 +- XMonad/Layout/NoFrillsDecoration.hs | 2 +- XMonad/Layout/OnHost.hs | 2 +- XMonad/Layout/PerScreen.hs | 2 +- XMonad/Layout/PerWorkspace.hs | 2 +- XMonad/Layout/PositionStoreFloat.hs | 2 +- XMonad/Layout/Reflect.hs | 2 +- XMonad/Layout/Renamed.hs | 2 +- XMonad/Layout/ResizableThreeColumns.hs | 2 +- XMonad/Layout/ResizableTile.hs | 2 +- XMonad/Layout/ResizeScreen.hs | 2 +- XMonad/Layout/Roledex.hs | 2 +- XMonad/Layout/ShowWName.hs | 2 +- XMonad/Layout/SimpleDecoration.hs | 2 +- XMonad/Layout/SimpleFloat.hs | 2 +- XMonad/Layout/Simplest.hs | 2 +- XMonad/Layout/SimplestFloat.hs | 2 +- XMonad/Layout/SortedLayout.hs | 2 +- XMonad/Layout/Spacing.hs | 2 +- XMonad/Layout/Spiral.hs | 2 +- XMonad/Layout/Square.hs | 2 +- XMonad/Layout/StackTile.hs | 2 +- XMonad/Layout/Stoppable.hs | 2 +- XMonad/Layout/SubLayouts.hs | 2 +- XMonad/Layout/TabBarDecoration.hs | 2 +- XMonad/Layout/Tabbed.hs | 2 +- XMonad/Layout/TallMastersCombo.hs | 2 +- XMonad/Layout/ThreeColumns.hs | 2 +- XMonad/Layout/ToggleLayouts.hs | 2 +- XMonad/Layout/TwoPane.hs | 2 +- XMonad/Layout/TwoPanePersistent.hs | 2 +- XMonad/Layout/VoidBorders.hs | 2 +- XMonad/Layout/WindowArranger.hs | 2 +- XMonad/Layout/WindowNavigation.hs | 2 +- XMonad/Layout/WindowSwitcherDecoration.hs | 2 +- XMonad/Layout/WorkspaceDir.hs | 2 +- XMonad/Layout/ZoomRow.hs | 2 +- XMonad/Prompt/AppendFile.hs | 2 +- XMonad/Prompt/DirExec.hs | 2 +- XMonad/Prompt/Email.hs | 2 +- XMonad/Prompt/Layout.hs | 2 +- XMonad/Prompt/Man.hs | 2 +- XMonad/Prompt/RunOrRaise.hs | 2 +- XMonad/Prompt/Shell.hs | 2 +- XMonad/Prompt/Ssh.hs | 2 +- XMonad/Prompt/Theme.hs | 2 +- XMonad/Prompt/Unicode.hs | 2 +- XMonad/Prompt/Window.hs | 2 +- XMonad/Prompt/Workspace.hs | 2 +- XMonad/Prompt/XMonad.hs | 2 +- XMonad/Prompt/Zsh.hs | 2 +- XMonad/Util/CustomKeys.hs | 2 +- XMonad/Util/EZConfig.hs | 2 +- XMonad/Util/ExclusiveScratchpads.hs | 2 +- XMonad/Util/Loggers.hs | 20 ++++++++++---------- XMonad/Util/Paste.hs | 2 +- XMonad/Util/RemoteWindows.hs | 2 +- 194 files changed, 210 insertions(+), 213 deletions(-) diff --git a/XMonad/Actions/AfterDrag.hs b/XMonad/Actions/AfterDrag.hs index 4b158a7a..989f38a3 100644 --- a/XMonad/Actions/AfterDrag.hs +++ b/XMonad/Actions/AfterDrag.hs @@ -24,7 +24,7 @@ import XMonad import Data.Time (NominalDiffTime, diffUTCTime, getCurrentTime) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.AfterDrag -- diff --git a/XMonad/Actions/BluetileCommands.hs b/XMonad/Actions/BluetileCommands.hs index c8c345f7..4ed59b7f 100644 --- a/XMonad/Actions/BluetileCommands.hs +++ b/XMonad/Actions/BluetileCommands.hs @@ -29,7 +29,7 @@ import System.Exit -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.ServerMode -- > import XMonad.Actions.BluetileCommands diff --git a/XMonad/Actions/Commands.hs b/XMonad/Actions/Commands.hs index b957a01d..cf1a1c73 100644 --- a/XMonad/Actions/Commands.hs +++ b/XMonad/Actions/Commands.hs @@ -37,7 +37,7 @@ import XMonad.Prelude -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.Commands -- diff --git a/XMonad/Actions/ConstrainedResize.hs b/XMonad/Actions/ConstrainedResize.hs index 456b4e18..0048be44 100644 --- a/XMonad/Actions/ConstrainedResize.hs +++ b/XMonad/Actions/ConstrainedResize.hs @@ -26,7 +26,7 @@ import XMonad -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import qualified XMonad.Actions.ConstrainedResize as Sqr -- diff --git a/XMonad/Actions/CopyWindow.hs b/XMonad/Actions/CopyWindow.hs index b2f37b53..47b49298 100644 --- a/XMonad/Actions/CopyWindow.hs +++ b/XMonad/Actions/CopyWindow.hs @@ -37,7 +37,7 @@ import qualified XMonad.StackSet as W -- $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.hs@ file: -- -- > import XMonad.Actions.CopyWindow -- diff --git a/XMonad/Actions/CycleRecentWS.hs b/XMonad/Actions/CycleRecentWS.hs index 7bb417ea..88069131 100644 --- a/XMonad/Actions/CycleRecentWS.hs +++ b/XMonad/Actions/CycleRecentWS.hs @@ -47,7 +47,7 @@ import Data.Function (on) import Control.Monad.State (lift) -- $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.hs@ file: -- -- > import XMonad.Actions.CycleRecentWS -- > diff --git a/XMonad/Actions/CycleSelectedLayouts.hs b/XMonad/Actions/CycleSelectedLayouts.hs index 2a99e559..ff461a92 100644 --- a/XMonad/Actions/CycleSelectedLayouts.hs +++ b/XMonad/Actions/CycleSelectedLayouts.hs @@ -23,7 +23,7 @@ import XMonad.Prelude (elemIndex, fromMaybe) import qualified XMonad.StackSet as S -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Actions.CycleSelectedLayouts diff --git a/XMonad/Actions/CycleWS.hs b/XMonad/Actions/CycleWS.hs index bea471e9..fc603f4a 100644 --- a/XMonad/Actions/CycleWS.hs +++ b/XMonad/Actions/CycleWS.hs @@ -92,7 +92,7 @@ import XMonad.Util.Types import XMonad.Util.WorkspaceCompare -- $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.hs@ file: -- -- > import XMonad.Actions.CycleWS -- > diff --git a/XMonad/Actions/CycleWindows.hs b/XMonad/Actions/CycleWindows.hs index c26bb965..d987f79c 100644 --- a/XMonad/Actions/CycleWindows.hs +++ b/XMonad/Actions/CycleWindows.hs @@ -64,7 +64,7 @@ import Control.Arrow (second) import Control.Monad.Trans (lift) -- $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.hs@ file: -- -- > import XMonad.Actions.CycleWindows -- > -- config diff --git a/XMonad/Actions/DeManage.hs b/XMonad/Actions/DeManage.hs index c1cc4c8c..11fa529c 100644 --- a/XMonad/Actions/DeManage.hs +++ b/XMonad/Actions/DeManage.hs @@ -39,7 +39,7 @@ import qualified XMonad.StackSet as W import XMonad -- $usage --- To use demanage, add this import to your @~\/.xmonad\/xmonad.hs@: +-- To use demanage, add this import to your @xmonad.hs@: -- -- > import XMonad.Actions.DeManage -- diff --git a/XMonad/Actions/DwmPromote.hs b/XMonad/Actions/DwmPromote.hs index 2193932b..bbb03877 100644 --- a/XMonad/Actions/DwmPromote.hs +++ b/XMonad/Actions/DwmPromote.hs @@ -31,7 +31,7 @@ import qualified Data.List.NonEmpty as NE -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.DwmPromote -- diff --git a/XMonad/Actions/DynamicWorkspaceGroups.hs b/XMonad/Actions/DynamicWorkspaceGroups.hs index 2ec3b517..14e905e8 100644 --- a/XMonad/Actions/DynamicWorkspaceGroups.hs +++ b/XMonad/Actions/DynamicWorkspaceGroups.hs @@ -51,7 +51,7 @@ import qualified XMonad.Util.ExtensibleState as XS import XMonad.Actions.TopicSpace -- $usage --- You can use this module by importing it into your ~\/.xmonad\/xmonad.hs file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Actions.DynamicWorkspaceGroups -- diff --git a/XMonad/Actions/DynamicWorkspaceOrder.hs b/XMonad/Actions/DynamicWorkspaceOrder.hs index e0ee5976..f937d75e 100644 --- a/XMonad/Actions/DynamicWorkspaceOrder.hs +++ b/XMonad/Actions/DynamicWorkspaceOrder.hs @@ -49,7 +49,7 @@ import XMonad.Prelude (fromJust, fromMaybe) import Data.Ord (comparing) -- $usage --- You can use this module by importing it into your ~\/.xmonad\/xmonad.hs file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import qualified XMonad.Actions.DynamicWorkspaceOrder as DO -- diff --git a/XMonad/Actions/DynamicWorkspaces.hs b/XMonad/Actions/DynamicWorkspaces.hs index 46edcce2..b589bfbc 100644 --- a/XMonad/Actions/DynamicWorkspaces.hs +++ b/XMonad/Actions/DynamicWorkspaces.hs @@ -44,7 +44,7 @@ import qualified Data.Map.Strict as Map import qualified XMonad.Util.ExtensibleState as XS -- $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.hs@ file: -- -- > import XMonad.Actions.DynamicWorkspaces -- > import XMonad.Actions.CopyWindow(copy) diff --git a/XMonad/Actions/EasyMotion.hs b/XMonad/Actions/EasyMotion.hs index 1d27a294..a3aa66ad 100644 --- a/XMonad/Actions/EasyMotion.hs +++ b/XMonad/Actions/EasyMotion.hs @@ -51,7 +51,7 @@ import qualified Data.Map.Strict as M (Map, elems, map, mapWithKey) -- $usage -- -- You can use this module's basic functionality with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Actions.EasyMotion (selectWindow) -- diff --git a/XMonad/Actions/FindEmptyWorkspace.hs b/XMonad/Actions/FindEmptyWorkspace.hs index 48806061..4866b889 100644 --- a/XMonad/Actions/FindEmptyWorkspace.hs +++ b/XMonad/Actions/FindEmptyWorkspace.hs @@ -25,7 +25,7 @@ import XMonad.StackSet -- $usage -- --- To use, import this module into your @~\/.xmonad\/xmonad.hs@: +-- To use, import this module into your @xmonad.hs@: -- -- > import XMonad.Actions.FindEmptyWorkspace -- diff --git a/XMonad/Actions/FlexibleManipulate.hs b/XMonad/Actions/FlexibleManipulate.hs index 11d253c3..ea16b324 100644 --- a/XMonad/Actions/FlexibleManipulate.hs +++ b/XMonad/Actions/FlexibleManipulate.hs @@ -29,7 +29,7 @@ import qualified Prelude as P import Prelude (Double, Integer, Ord (..), const, fromIntegral, fst, id, otherwise, round, snd, uncurry, ($)) -- $usage --- First, add this import to your @~\/.xmonad\/xmonad.hs@: +-- First, add this import to your @xmonad.hs@: -- -- > import qualified XMonad.Actions.FlexibleManipulate as Flex -- diff --git a/XMonad/Actions/FlexibleResize.hs b/XMonad/Actions/FlexibleResize.hs index b6aa7848..916343dc 100644 --- a/XMonad/Actions/FlexibleResize.hs +++ b/XMonad/Actions/FlexibleResize.hs @@ -25,7 +25,7 @@ import XMonad.Prelude (fi) import Foreign.C.Types -- $usage --- To use, first import this module into your @~\/.xmonad\/xmonad.hs@ file: +-- To use, first import this module into your @xmonad.hs@ file: -- -- > import qualified XMonad.Actions.FlexibleResize as Flex -- diff --git a/XMonad/Actions/FloatKeys.hs b/XMonad/Actions/FloatKeys.hs index b685b043..0c40d1c9 100644 --- a/XMonad/Actions/FloatKeys.hs +++ b/XMonad/Actions/FloatKeys.hs @@ -30,7 +30,7 @@ import XMonad.Prelude (fi) import XMonad.Util.Types -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.FloatKeys -- diff --git a/XMonad/Actions/FloatSnap.hs b/XMonad/Actions/FloatSnap.hs index ab77c377..23d0224f 100644 --- a/XMonad/Actions/FloatSnap.hs +++ b/XMonad/Actions/FloatSnap.hs @@ -37,7 +37,7 @@ import XMonad.Util.Types (Direction2D(..)) import XMonad.Actions.AfterDrag -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.FloatSnap -- diff --git a/XMonad/Actions/FocusNth.hs b/XMonad/Actions/FocusNth.hs index d6511c32..b9e81465 100644 --- a/XMonad/Actions/FocusNth.hs +++ b/XMonad/Actions/FocusNth.hs @@ -25,7 +25,7 @@ import XMonad.Prelude import XMonad.StackSet -- $usage --- Add the import to your @~\/.xmonad\/xmonad.hs@: +-- Add the import to your @xmonad.hs@: -- -- > import XMonad.Actions.FocusNth -- diff --git a/XMonad/Actions/GridSelect.hs b/XMonad/Actions/GridSelect.hs index f350d4ad..8ef7e2f4 100644 --- a/XMonad/Actions/GridSelect.hs +++ b/XMonad/Actions/GridSelect.hs @@ -101,7 +101,7 @@ import qualified Data.List.NonEmpty as NE -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.GridSelect -- diff --git a/XMonad/Actions/GroupNavigation.hs b/XMonad/Actions/GroupNavigation.hs index ff0410d9..1fe9f581 100644 --- a/XMonad/Actions/GroupNavigation.hs +++ b/XMonad/Actions/GroupNavigation.hs @@ -53,7 +53,7 @@ import qualified XMonad.Util.ExtensibleState as XS {- $usage -Import the module into your @~\/.xmonad\/xmonad.hs@: +Import the module into your @xmonad.hs@: > import XMonad.Actions.GroupNavigation @@ -129,7 +129,7 @@ focusNextMatchOrDo qry act = findM (runQuery qry) >=> maybe act (windows . SS.focusWindow) -- Returns the list of windows ordered by workspace as specified in --- ~/.xmonad/xmonad.hs +-- @xmonad.hs@. orderedWindowList :: Direction -> X (Seq Window) orderedWindowList History = fmap (\(HistoryDB w ws) -> maybe ws (ws |>) w) XS.get orderedWindowList dir = withWindowSet $ \ss -> do @@ -145,7 +145,7 @@ orderedWindowList dir = withWindowSet $ \ss -> do dirfun _ = id rotfun wins x = rotate $ rotateTo (== x) wins --- Returns the ordered workspace list as specified in ~/.xmonad/xmonad.hs +-- Returns the ordered workspace list as specified in @xmonad.hs@. orderedWorkspaceList :: WindowSet -> Seq String -> Seq WindowSpace orderedWorkspaceList ss wsids = rotateTo isCurWS wspcs' where diff --git a/XMonad/Actions/LinkWorkspaces.hs b/XMonad/Actions/LinkWorkspaces.hs index a2aa8880..721149b4 100644 --- a/XMonad/Actions/LinkWorkspaces.hs +++ b/XMonad/Actions/LinkWorkspaces.hs @@ -36,7 +36,7 @@ import qualified Data.Map as M ( insert, delete, Map, lookup, empty, filter ) -- $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.hs@ file: -- -- > import XMonad.Actions.LinkWorkspaces -- diff --git a/XMonad/Actions/MessageFeedback.hs b/XMonad/Actions/MessageFeedback.hs index 7ff9a569..39c403d7 100644 --- a/XMonad/Actions/MessageFeedback.hs +++ b/XMonad/Actions/MessageFeedback.hs @@ -53,7 +53,7 @@ import XMonad.StackSet ( Workspace, current, workspace, layout, tag ) import Control.Monad.State ( gets ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.MessageFeedback -- diff --git a/XMonad/Actions/MouseGestures.hs b/XMonad/Actions/MouseGestures.hs index f57b2b2e..8cc066eb 100644 --- a/XMonad/Actions/MouseGestures.hs +++ b/XMonad/Actions/MouseGestures.hs @@ -32,7 +32,7 @@ import Data.Map (Map) -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.MouseGestures -- > import qualified XMonad.StackSet as W diff --git a/XMonad/Actions/MouseResize.hs b/XMonad/Actions/MouseResize.hs index c2261202..8278dc2a 100644 --- a/XMonad/Actions/MouseResize.hs +++ b/XMonad/Actions/MouseResize.hs @@ -37,7 +37,7 @@ import XMonad.Util.XUtils -- "XMonad.Layout.SimpleFloat" or "XMonad.Layout.DecorationMadness". -- -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Actions.MouseResize -- > import XMonad.Layout.WindowArranger diff --git a/XMonad/Actions/Navigation2D.hs b/XMonad/Actions/Navigation2D.hs index b620faa1..e067791f 100644 --- a/XMonad/Actions/Navigation2D.hs +++ b/XMonad/Actions/Navigation2D.hs @@ -85,7 +85,7 @@ import qualified Data.List.NonEmpty as NE -- layers and allows customization of the navigation strategy for the tiled -- layer based on the layout currently in effect. -- --- You can use this module with (a subset of) the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with (a subset of) the following in your @xmonad.hs@: -- -- > import XMonad.Actions.Navigation2D -- diff --git a/XMonad/Actions/OnScreen.hs b/XMonad/Actions/OnScreen.hs index ec13a14e..375a5107 100644 --- a/XMonad/Actions/OnScreen.hs +++ b/XMonad/Actions/OnScreen.hs @@ -148,7 +148,7 @@ toggleOrView' f i st = fromMaybe (f i st) $ do -- -- This module provides an easy way to control, what you see on other screens in -- xinerama mode without having to focus them. Put this into your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Actions.OnScreen -- diff --git a/XMonad/Actions/PerLayoutKeys.hs b/XMonad/Actions/PerLayoutKeys.hs index b4b267dd..92f18490 100644 --- a/XMonad/Actions/PerLayoutKeys.hs +++ b/XMonad/Actions/PerLayoutKeys.hs @@ -25,7 +25,7 @@ import XMonad.StackSet as S -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.PerLayoutKeys -- diff --git a/XMonad/Actions/PerWindowKeys.hs b/XMonad/Actions/PerWindowKeys.hs index 95128b64..b5565738 100644 --- a/XMonad/Actions/PerWindowKeys.hs +++ b/XMonad/Actions/PerWindowKeys.hs @@ -24,7 +24,7 @@ import XMonad -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.PerWindowKeys -- diff --git a/XMonad/Actions/PerWorkspaceKeys.hs b/XMonad/Actions/PerWorkspaceKeys.hs index f3d95081..4bd41f3c 100644 --- a/XMonad/Actions/PerWorkspaceKeys.hs +++ b/XMonad/Actions/PerWorkspaceKeys.hs @@ -25,7 +25,7 @@ import XMonad.StackSet as S -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.PerWorkspaceKeys -- diff --git a/XMonad/Actions/PhysicalScreens.hs b/XMonad/Actions/PhysicalScreens.hs index 4c321c96..da93b021 100644 --- a/XMonad/Actions/PhysicalScreens.hs +++ b/XMonad/Actions/PhysicalScreens.hs @@ -46,7 +46,7 @@ To create a screen comparator you can use screenComparatorByRectangle or screenC The default ScreenComparator orders screens by the upper-left-most corner, from top-to-bottom and then left-to-right. -Example usage in your @~\/.xmonad\/xmonad.hs@ file: +Example usage in your @xmonad.hs@ file: > import XMonad.Actions.PhysicalScreens > import Data.Default diff --git a/XMonad/Actions/Plane.hs b/XMonad/Actions/Plane.hs index d6a4b3f8..9cdd5a7f 100644 --- a/XMonad/Actions/Plane.hs +++ b/XMonad/Actions/Plane.hs @@ -47,7 +47,7 @@ import XMonad.StackSet hiding (workspaces) import XMonad.Util.Run -- $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.hs@ file: -- -- > import XMonad.Actions.Plane -- > import Data.Map (union) diff --git a/XMonad/Actions/Promote.hs b/XMonad/Actions/Promote.hs index 64c6eb28..30f22920 100644 --- a/XMonad/Actions/Promote.hs +++ b/XMonad/Actions/Promote.hs @@ -28,7 +28,7 @@ import XMonad.StackSet -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.Promote -- diff --git a/XMonad/Actions/RotateSome.hs b/XMonad/Actions/RotateSome.hs index dc1c61cc..3ac196c1 100644 --- a/XMonad/Actions/RotateSome.hs +++ b/XMonad/Actions/RotateSome.hs @@ -35,7 +35,7 @@ import XMonad.StackSet (Screen (Screen), Stack (Stack), current, floating, modif import XMonad.Util.Stack (reverseS) {- $usage -You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +You can use this module with the following in your @xmonad.hs@: > import XMonad.Actions.RotateSome diff --git a/XMonad/Actions/ShowText.hs b/XMonad/Actions/ShowText.hs index f5ee5f90..658cd9c9 100644 --- a/XMonad/Actions/ShowText.hs +++ b/XMonad/Actions/ShowText.hs @@ -42,7 +42,7 @@ import XMonad.Util.XUtils (createNewWindow import qualified XMonad.Util.ExtensibleState as ES -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.ShowText -- diff --git a/XMonad/Actions/Sift.hs b/XMonad/Actions/Sift.hs index d491cb2c..7f4fa9f6 100644 --- a/XMonad/Actions/Sift.hs +++ b/XMonad/Actions/Sift.hs @@ -28,7 +28,7 @@ import XMonad.StackSet (Stack (Stack), StackSet, modify') import XMonad.Util.Stack (reverseS) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.Sift -- diff --git a/XMonad/Actions/SimpleDate.hs b/XMonad/Actions/SimpleDate.hs index d248d6cc..84daa780 100644 --- a/XMonad/Actions/SimpleDate.hs +++ b/XMonad/Actions/SimpleDate.hs @@ -24,7 +24,7 @@ import XMonad.Core import XMonad.Util.Run -- $usage --- To use, import this module into @~\/.xmonad\/xmonad.hs@: +-- To use, import this module into @xmonad.hs@: -- -- > import XMonad.Actions.SimpleDate -- diff --git a/XMonad/Actions/SinkAll.hs b/XMonad/Actions/SinkAll.hs index 62a1fb02..7349d04f 100644 --- a/XMonad/Actions/SinkAll.hs +++ b/XMonad/Actions/SinkAll.hs @@ -23,7 +23,7 @@ import XMonad.Actions.WithAll (sinkAll) -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.SinkAll -- diff --git a/XMonad/Actions/SpawnOn.hs b/XMonad/Actions/SpawnOn.hs index 584fff4d..384040f5 100644 --- a/XMonad/Actions/SpawnOn.hs +++ b/XMonad/Actions/SpawnOn.hs @@ -43,7 +43,7 @@ import qualified XMonad.Util.ExtensibleState as XS import XMonad.Util.Process (getPPIDChain) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.SpawnOn -- diff --git a/XMonad/Actions/Submap.hs b/XMonad/Actions/Submap.hs index d5829ae1..0c6a80d8 100644 --- a/XMonad/Actions/Submap.hs +++ b/XMonad/Actions/Submap.hs @@ -32,10 +32,7 @@ import XMonad.Util.XUtils {- $usage - - - -First, import this module into your @~\/.xmonad\/xmonad.hs@: +First, import this module into your @xmonad.hs@: > import XMonad.Actions.Submap diff --git a/XMonad/Actions/SwapWorkspaces.hs b/XMonad/Actions/SwapWorkspaces.hs index 3fe5f135..c2bc1d32 100644 --- a/XMonad/Actions/SwapWorkspaces.hs +++ b/XMonad/Actions/SwapWorkspaces.hs @@ -30,7 +30,7 @@ import XMonad.Util.WorkspaceCompare -- $usage --- Add this import to your @~\/.xmonad\/xmonad.hs@: +-- Add this import to your @xmonad.hs@: -- -- > import XMonad.Actions.SwapWorkspaces -- diff --git a/XMonad/Actions/TagWindows.hs b/XMonad/Actions/TagWindows.hs index 0e11b9a1..7730e53f 100644 --- a/XMonad/Actions/TagWindows.hs +++ b/XMonad/Actions/TagWindows.hs @@ -39,7 +39,7 @@ econst = const . return -- $usage -- --- To use window tags, import this module into your @~\/.xmonad\/xmonad.hs@: +-- To use window tags, import this module into your @xmonad.hs@: -- -- > import XMonad.Actions.TagWindows -- > import XMonad.Prompt -- to use tagPrompt diff --git a/XMonad/Actions/TiledWindowDragging.hs b/XMonad/Actions/TiledWindowDragging.hs index 8df8b907..3620eff6 100644 --- a/XMonad/Actions/TiledWindowDragging.hs +++ b/XMonad/Actions/TiledWindowDragging.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W import XMonad.Layout.DraggingVisualizer -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.TiledWindowDragging -- > import XMonad.Layout.DraggingVisualizer diff --git a/XMonad/Actions/TopicSpace.hs b/XMonad/Actions/TopicSpace.hs index 577e2267..20bdf8bb 100644 --- a/XMonad/Actions/TopicSpace.hs +++ b/XMonad/Actions/TopicSpace.hs @@ -108,7 +108,7 @@ import XMonad.Hooks.WorkspaceHistory -- . -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import qualified Data.Map.Strict as M -- > import qualified XMonad.StackSet as W diff --git a/XMonad/Actions/UpdateFocus.hs b/XMonad/Actions/UpdateFocus.hs index b2eef64e..2592484d 100644 --- a/XMonad/Actions/UpdateFocus.hs +++ b/XMonad/Actions/UpdateFocus.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W -- $usage -- To make the focus update on mouse movement within an unfocused window, add the --- following to your @~\/.xmonad\/xmonad.hs@: +-- following to your @xmonad.hs@: -- -- > import XMonad.Actions.UpdateFocus -- > xmonad $ def { diff --git a/XMonad/Actions/UpdatePointer.hs b/XMonad/Actions/UpdatePointer.hs index a00473e2..9cc30c13 100644 --- a/XMonad/Actions/UpdatePointer.hs +++ b/XMonad/Actions/UpdatePointer.hs @@ -31,7 +31,7 @@ import XMonad.StackSet (member, peek, screenDetail, current) import Control.Arrow ((&&&), (***)) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Actions.UpdatePointer diff --git a/XMonad/Actions/Warp.hs b/XMonad/Actions/Warp.hs index 8b96ef20..c459587e 100644 --- a/XMonad/Actions/Warp.hs +++ b/XMonad/Actions/Warp.hs @@ -28,7 +28,7 @@ import XMonad import XMonad.StackSet as W {- $usage -You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +You can use this module with the following in your @xmonad.hs@: > import XMonad.Actions.Warp diff --git a/XMonad/Actions/WindowBringer.hs b/XMonad/Actions/WindowBringer.hs index a46d0605..27c42a4c 100644 --- a/XMonad/Actions/WindowBringer.hs +++ b/XMonad/Actions/WindowBringer.hs @@ -36,7 +36,7 @@ import XMonad.Util.NamedWindows (getName, getNameWMClass) -- $usage -- --- Import the module into your @~\/.xmonad\/xmonad.hs@: +-- Import the module into your @xmonad.hs@: -- -- > import XMonad.Actions.WindowBringer -- diff --git a/XMonad/Actions/WindowGo.hs b/XMonad/Actions/WindowGo.hs index 35d22482..53286be9 100644 --- a/XMonad/Actions/WindowGo.hs +++ b/XMonad/Actions/WindowGo.hs @@ -52,7 +52,7 @@ import qualified Data.List.NonEmpty as NE {- $usage -Import the module into your @~\/.xmonad\/xmonad.hs@: +Import the module into your @xmonad.hs@: > import XMonad.Actions.WindowGo diff --git a/XMonad/Actions/WindowMenu.hs b/XMonad/Actions/WindowMenu.hs index 70ba1e05..d11fdbe3 100644 --- a/XMonad/Actions/WindowMenu.hs +++ b/XMonad/Actions/WindowMenu.hs @@ -34,7 +34,7 @@ import XMonad.Prelude (fi) -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.WindowMenu -- diff --git a/XMonad/Actions/WithAll.hs b/XMonad/Actions/WithAll.hs index bb28613c..6192451a 100644 --- a/XMonad/Actions/WithAll.hs +++ b/XMonad/Actions/WithAll.hs @@ -24,7 +24,7 @@ import XMonad.StackSet -- $usage -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.WithAll -- diff --git a/XMonad/Actions/Workscreen.hs b/XMonad/Actions/Workscreen.hs index aa069964..8bd82d55 100644 --- a/XMonad/Actions/Workscreen.hs +++ b/XMonad/Actions/Workscreen.hs @@ -43,7 +43,7 @@ import qualified XMonad.Util.ExtensibleState as XS import XMonad.Actions.OnScreen -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Actions.Workscreen -- > myWorkspaces = let myOldWorkspaces = ["adm","work","mail"] diff --git a/XMonad/Actions/WorkspaceNames.hs b/XMonad/Actions/WorkspaceNames.hs index 97b7c645..4ba5fd08 100644 --- a/XMonad/Actions/WorkspaceNames.hs +++ b/XMonad/Actions/WorkspaceNames.hs @@ -58,7 +58,7 @@ import XMonad.Util.WorkspaceCompare (getSortByIndex) import qualified Data.Map as M -- $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.hs@ file: -- -- > import XMonad.Actions.WorkspaceNames -- diff --git a/XMonad/Config/Arossato.hs b/XMonad/Config/Arossato.hs index c5007df4..816ca1dc 100644 --- a/XMonad/Config/Arossato.hs +++ b/XMonad/Config/Arossato.hs @@ -47,7 +47,7 @@ import XMonad.Util.Themes -- $usage -- The simplest way to use this configuration module is to use an --- @~\/.xmonad\/xmonad.hs@ like this: +-- @xmonad.hs@ like this: -- -- > module Main (main) where -- > @@ -64,7 +64,7 @@ import XMonad.Util.Themes -- -- You can use this module also as a starting point for writing your -- own configuration module from scratch. Save it as your --- @~\/.xmonad\/xmonad.hs@ and: +-- @xmonad.hs@ and: -- -- 1. Change the module name from -- diff --git a/XMonad/Config/Azerty.hs b/XMonad/Config/Azerty.hs index 14caaa42..b26dc780 100644 --- a/XMonad/Config/Azerty.hs +++ b/XMonad/Config/Azerty.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W import qualified Data.Map as M -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Azerty diff --git a/XMonad/Config/Bepo.hs b/XMonad/Config/Bepo.hs index 43416a19..b6468fb0 100644 --- a/XMonad/Config/Bepo.hs +++ b/XMonad/Config/Bepo.hs @@ -26,7 +26,7 @@ import qualified XMonad.StackSet as W import qualified Data.Map as M -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Bepo diff --git a/XMonad/Config/Bluetile.hs b/XMonad/Config/Bluetile.hs index 93086cd8..fcfbe759 100644 --- a/XMonad/Config/Bluetile.hs +++ b/XMonad/Config/Bluetile.hs @@ -65,7 +65,7 @@ import System.Exit import XMonad.Prelude(when) -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Bluetile diff --git a/XMonad/Config/Desktop.hs b/XMonad/Config/Desktop.hs index 70f8eac3..1d52bd9b 100644 --- a/XMonad/Config/Desktop.hs +++ b/XMonad/Config/Desktop.hs @@ -24,7 +24,7 @@ module XMonad.Config.Desktop ( -- specification. Extra xmonad settings unique to specific DE's are -- added by overriding or modifying @desktopConfig@ fields in the -- same way that the default configuration is customized in - -- @~\/.xmonad/xmonad.hs@. + -- @xmonad.hs@. -- -- For more information about EWMH see: -- @@ -72,7 +72,7 @@ import qualified Data.Map as M -- -- -- To configure xmonad for use with a DE or with DE tools like panels --- and pagers, in place of @def@ in your @~\/.xmonad/xmonad.hs@, +-- and pagers, in place of @def@ in your @xmonad.hs@, -- use @desktopConfig@ or one of the other desktop configs from the -- @XMonad.Config@ namespace. The following setup and customization examples -- work the same way for the other desktop configs as for @desktopConfig@. diff --git a/XMonad/Config/Gnome.hs b/XMonad/Config/Gnome.hs index b689ed32..4603f640 100644 --- a/XMonad/Config/Gnome.hs +++ b/XMonad/Config/Gnome.hs @@ -32,7 +32,7 @@ import qualified Data.Map as M import System.Environment (getEnvironment) -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Gnome diff --git a/XMonad/Config/Kde.hs b/XMonad/Config/Kde.hs index 0a1b8d94..d70bc825 100644 --- a/XMonad/Config/Kde.hs +++ b/XMonad/Config/Kde.hs @@ -28,7 +28,7 @@ import XMonad.Config.Desktop import qualified Data.Map as M -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Kde diff --git a/XMonad/Config/LXQt.hs b/XMonad/Config/LXQt.hs index dcd05bfb..11462de0 100644 --- a/XMonad/Config/LXQt.hs +++ b/XMonad/Config/LXQt.hs @@ -27,7 +27,7 @@ import XMonad.Config.Desktop import qualified Data.Map as M -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.LXQt diff --git a/XMonad/Config/Mate.hs b/XMonad/Config/Mate.hs index 91c00faa..f93e1bea 100644 --- a/XMonad/Config/Mate.hs +++ b/XMonad/Config/Mate.hs @@ -40,7 +40,7 @@ import XMonad.Util.Run (safeSpawn) import XMonad.Util.Ungrab (unGrab) -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Mate diff --git a/XMonad/Config/Prime.hs b/XMonad/Config/Prime.hs index e2730c10..7ddf0296 100644 --- a/XMonad/Config/Prime.hs +++ b/XMonad/Config/Prime.hs @@ -126,7 +126,7 @@ import qualified XMonad as X (xmonad, XConfig(..)) import XMonad.Util.EZConfig (additionalKeysP, additionalMouseBindings, checkKeymap, removeKeysP, removeMouseBindings) -- $start_here --- To start with, create a @~\/.xmonad\/xmonad.hs@ that looks like this: +-- To start with, create a @xmonad.hs@ that looks like this: -- -- > {-# LANGUAGE RebindableSyntax #-} -- > import XMonad.Config.Prime diff --git a/XMonad/Config/Xfce.hs b/XMonad/Config/Xfce.hs index 489e314f..34e46c20 100644 --- a/XMonad/Config/Xfce.hs +++ b/XMonad/Config/Xfce.hs @@ -27,7 +27,7 @@ import XMonad.Config.Desktop import qualified Data.Map as M -- $usage --- To use this module, start with the following @~\/.xmonad\/xmonad.hs@: +-- To use this module, start with the following @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Config.Xfce diff --git a/XMonad/Doc/Developing.hs b/XMonad/Doc/Developing.hs index 69e6db30..b56b5927 100644 --- a/XMonad/Doc/Developing.hs +++ b/XMonad/Doc/Developing.hs @@ -86,7 +86,7 @@ customize the window manager to fit her needs. Basically, xmonad and the xmonad-contrib libraries let users write their own window manager in just a few lines of code. While -@~\/.xmonad\/xmonad.hs@ at first seems to be simply a configuration +@xmonad.hs@ at first seems to be simply a configuration file, it is actually a complete Haskell program which uses the xmonad and xmonad-contrib libraries to create a custom window manager. @@ -106,13 +106,13 @@ manager you are writing in any way you see fit. xmonad installs a binary, @xmonad@, which must be executed by the Xsession starting script. This binary, whose code can be read in @Main.hs@ of the xmonad source tree, will use 'XMonad.Core.recompile' -to run @ghc@ in order to build a binary from @~\/.xmonad\/xmonad.hs@. +to run @ghc@ in order to build a binary from @xmonad.hs@. If this compilation process fails, for any reason, a default @main@ entry point will be used, which calls the 'XMonad.Main.xmonad' function with a default configuration. Thus, the real @main@ entry point, the one that even the users' custom -window manager application in @~\/.xmonad\/xmonad.hs@ must call, is +window manager application in @xmonad.hs@ must call, is the 'XMonad.Main.xmonad' function. This function takes a configuration as its only argument, whose type ('XMonad.Core.XConfig') is defined in "XMonad.Core". diff --git a/XMonad/Doc/Extending.hs b/XMonad/Doc/Extending.hs index 28e79cd1..9360acd6 100644 --- a/XMonad/Doc/Extending.hs +++ b/XMonad/Doc/Extending.hs @@ -500,7 +500,7 @@ with a specific layout combinator: 'XMonad.Layout.|||'. Suppose we want a list with the 'XMonad.Layout.Full', 'XMonad.Layout.Tabbed.tabbed' and 'XMonad.Layout.Accordion.Accordion' layouts. First we import, in our -@~\/.xmonad\/xmonad.hs@, all the needed modules: +@xmonad.hs@, all the needed modules: > import XMonad > @@ -529,7 +529,7 @@ If we want only the tabbed layout without borders, then we may write: > mylayoutHook = Full ||| noBorders (tabbed shrinkText def) ||| Accordion -Our @~\/.xmonad\/xmonad.hs@ will now look like this: +Our @xmonad.hs@ will now look like this: > import XMonad > diff --git a/XMonad/Hooks/CurrentWorkspaceOnTop.hs b/XMonad/Hooks/CurrentWorkspaceOnTop.hs index dda47ad4..3b1fbcee 100644 --- a/XMonad/Hooks/CurrentWorkspaceOnTop.hs +++ b/XMonad/Hooks/CurrentWorkspaceOnTop.hs @@ -30,7 +30,7 @@ import qualified XMonad.StackSet as S import qualified XMonad.Util.ExtensibleState as XS -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.CurrentWorkspaceOnTop -- > diff --git a/XMonad/Hooks/DynamicLog.hs b/XMonad/Hooks/DynamicLog.hs index 4236a397..7613b47e 100644 --- a/XMonad/Hooks/DynamicLog.hs +++ b/XMonad/Hooks/DynamicLog.hs @@ -76,7 +76,7 @@ import XMonad.Hooks.StatusBar.PP import XMonad.Hooks.StatusBar -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Hooks.DynamicLog diff --git a/XMonad/Hooks/EwmhDesktops.hs b/XMonad/Hooks/EwmhDesktops.hs index 90523735..206d8074 100644 --- a/XMonad/Hooks/EwmhDesktops.hs +++ b/XMonad/Hooks/EwmhDesktops.hs @@ -76,7 +76,7 @@ import qualified XMonad.Util.ExtensibleConf as XC import qualified XMonad.Util.ExtensibleState as XS -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Hooks.EwmhDesktops diff --git a/XMonad/Hooks/FadeInactive.hs b/XMonad/Hooks/FadeInactive.hs index 54726d83..d65e1e71 100644 --- a/XMonad/Hooks/FadeInactive.hs +++ b/XMonad/Hooks/FadeInactive.hs @@ -32,7 +32,7 @@ import XMonad.Prelude import qualified XMonad.StackSet as W -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Hooks.FadeInactive diff --git a/XMonad/Hooks/FloatNext.hs b/XMonad/Hooks/FloatNext.hs index e8a72d26..13c60452 100644 --- a/XMonad/Hooks/FloatNext.hs +++ b/XMonad/Hooks/FloatNext.hs @@ -47,7 +47,7 @@ hookName = "__float" -- to automatically send the next spawned window(s) to the floating -- layer. -- --- You can use it by including the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use it by including the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.FloatNext -- diff --git a/XMonad/Hooks/InsertPosition.hs b/XMonad/Hooks/InsertPosition.hs index 487b24c0..b6bb4c6b 100644 --- a/XMonad/Hooks/InsertPosition.hs +++ b/XMonad/Hooks/InsertPosition.hs @@ -26,7 +26,7 @@ import XMonad.Prelude (Endo (Endo), find) import qualified XMonad.StackSet as W -- $usage --- You can use this module by importing it in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module by importing it in your @xmonad.hs@: -- -- > import XMonad.Hooks.InsertPosition -- diff --git a/XMonad/Hooks/ManageDocks.hs b/XMonad/Hooks/ManageDocks.hs index 5ed0b72f..1b8f5aa8 100644 --- a/XMonad/Hooks/ManageDocks.hs +++ b/XMonad/Hooks/ManageDocks.hs @@ -49,7 +49,7 @@ import qualified Data.Map as M import qualified XMonad.StackSet as W -- $usage --- To use this module, add the following import to @~\/.xmonad\/xmonad.hs@: +-- To use this module, add the following import to @xmonad.hs@: -- -- > import XMonad.Hooks.ManageDocks -- diff --git a/XMonad/Hooks/Minimize.hs b/XMonad/Hooks/Minimize.hs index 2dc4f9b4..df543f66 100644 --- a/XMonad/Hooks/Minimize.hs +++ b/XMonad/Hooks/Minimize.hs @@ -25,7 +25,7 @@ import XMonad.Actions.Minimize import XMonad.Prelude -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.Minimize -- > import XMonad.Layout.Minimize diff --git a/XMonad/Hooks/OnPropertyChange.hs b/XMonad/Hooks/OnPropertyChange.hs index ca9a75ce..87b82cbf 100644 --- a/XMonad/Hooks/OnPropertyChange.hs +++ b/XMonad/Hooks/OnPropertyChange.hs @@ -39,7 +39,7 @@ import XMonad import XMonad.Prelude -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.DynamicProperty -- diff --git a/XMonad/Hooks/Place.hs b/XMonad/Hooks/Place.hs index 3957c37b..78ca2c22 100644 --- a/XMonad/Hooks/Place.hs +++ b/XMonad/Hooks/Place.hs @@ -51,7 +51,7 @@ import Control.Monad.Trans (lift) -- floating windows at appropriate positions on the screen, as well -- as an 'X' action to manually trigger repositioning. -- --- You can use this module by including the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module by including the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.Place -- diff --git a/XMonad/Hooks/PositionStoreHooks.hs b/XMonad/Hooks/PositionStoreHooks.hs index 1697636e..42a9722b 100644 --- a/XMonad/Hooks/PositionStoreHooks.hs +++ b/XMonad/Hooks/PositionStoreHooks.hs @@ -45,7 +45,7 @@ import System.Random(randomRIO) import qualified Data.Set as S -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.PositionStoreHooks -- diff --git a/XMonad/Hooks/Rescreen.hs b/XMonad/Hooks/Rescreen.hs index b2cb015b..85216390 100644 --- a/XMonad/Hooks/Rescreen.hs +++ b/XMonad/Hooks/Rescreen.hs @@ -32,7 +32,7 @@ import qualified XMonad.Util.ExtensibleConf as XC -- ('XMonad.Hooks.StatusBar.dynamicSBs' uses this module internally), as well -- as to actually invoke xrandr or autorandr when an output is (dis)connected. -- --- To use this, include the following in your @~\/.xmonad\/xmonad.hs@: +-- To use this, include the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.Rescreen -- diff --git a/XMonad/Hooks/ServerMode.hs b/XMonad/Hooks/ServerMode.hs index d59dfdc9..d6b4abf7 100644 --- a/XMonad/Hooks/ServerMode.hs +++ b/XMonad/Hooks/ServerMode.hs @@ -36,7 +36,7 @@ import XMonad.Actions.Commands -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Hooks.ServerMode -- diff --git a/XMonad/Hooks/SetWMName.hs b/XMonad/Hooks/SetWMName.hs index 89b074ee..bbf922b1 100644 --- a/XMonad/Hooks/SetWMName.hs +++ b/XMonad/Hooks/SetWMName.hs @@ -15,7 +15,7 @@ -- May be useful for making Java GUI programs work, just set WM name to \"LG3D\" -- and use Java 1.6u1 (1.6.0_01-ea-b03 works for me) or later. -- --- To your @~\/.xmonad\/xmonad.hs@ file, add the following line: +-- To your @xmonad.hs@ file, add the following line: -- -- > import XMonad.Hooks.SetWMName -- diff --git a/XMonad/Hooks/ShowWName.hs b/XMonad/Hooks/ShowWName.hs index dc5b31b1..74648f08 100644 --- a/XMonad/Hooks/ShowWName.hs +++ b/XMonad/Hooks/ShowWName.hs @@ -33,7 +33,7 @@ import Control.Concurrent (threadDelay) {- $usage You can use this module with the following in your -@~\/.xmonad\/xmonad.hs@: +@xmonad.hs@: > import XMonad.Hooks.ShowWName > diff --git a/XMonad/Hooks/StatusBar.hs b/XMonad/Hooks/StatusBar.hs index d1623268..c477f251 100644 --- a/XMonad/Hooks/StatusBar.hs +++ b/XMonad/Hooks/StatusBar.hs @@ -82,7 +82,7 @@ import XMonad.Hooks.StatusBar.PP import qualified XMonad.StackSet as W -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Hooks.StatusBar diff --git a/XMonad/Hooks/StatusBar/WorkspaceScreen.hs b/XMonad/Hooks/StatusBar/WorkspaceScreen.hs index eaa40a1c..cf765d9e 100644 --- a/XMonad/Hooks/StatusBar/WorkspaceScreen.hs +++ b/XMonad/Hooks/StatusBar/WorkspaceScreen.hs @@ -34,7 +34,7 @@ import XMonad.Prelude import qualified XMonad.StackSet as W {- $usage - You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: + You can use this module with the following in your @xmonad.hs@: > import XMonad > import XMonad.Hooks.StatusBar diff --git a/XMonad/Hooks/ToggleHook.hs b/XMonad/Hooks/ToggleHook.hs index 7eae7da9..c25fc635 100644 --- a/XMonad/Hooks/ToggleHook.hs +++ b/XMonad/Hooks/ToggleHook.hs @@ -77,7 +77,7 @@ modify' n f = XS.modify (HookState . setter . hooks) -- This module provides actions (that can be set as keybindings) -- to be able to cause hooks to be occur on a conditional basis. -- --- You can use it by including the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use it by including the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.ToggleHook -- diff --git a/XMonad/Hooks/WindowSwallowing.hs b/XMonad/Hooks/WindowSwallowing.hs index 66fa1b5a..895c7041 100644 --- a/XMonad/Hooks/WindowSwallowing.hs +++ b/XMonad/Hooks/WindowSwallowing.hs @@ -54,7 +54,7 @@ import qualified Data.Map.Strict as M import System.Posix.Types ( ProcessID ) -- $usage --- You can use this module by including the following in your @~\/.xmonad/xmonad.hs@: +-- You can use this module by including the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.WindowSwallowing -- diff --git a/XMonad/Hooks/WorkspaceByPos.hs b/XMonad/Hooks/WorkspaceByPos.hs index e073af63..c384f8ae 100644 --- a/XMonad/Hooks/WorkspaceByPos.hs +++ b/XMonad/Hooks/WorkspaceByPos.hs @@ -30,7 +30,7 @@ import Control.Monad.Except (runExceptT, throwError) import Control.Monad.Trans (lift) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.WorkspaceByPos -- > diff --git a/XMonad/Hooks/WorkspaceHistory.hs b/XMonad/Hooks/WorkspaceHistory.hs index b54be0f6..170145e7 100644 --- a/XMonad/Hooks/WorkspaceHistory.hs +++ b/XMonad/Hooks/WorkspaceHistory.hs @@ -39,7 +39,7 @@ import qualified XMonad.Util.ExtensibleState as XS -- $usage -- To record the order in which you view workspaces, you can use this --- module with the following in your @~\/.xmonad\/xmonad.hs@: +-- module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.WorkspaceHistory (workspaceHistoryHook) -- diff --git a/XMonad/Hooks/XPropManage.hs b/XMonad/Hooks/XPropManage.hs index 41d0986a..bb42a0b5 100644 --- a/XMonad/Hooks/XPropManage.hs +++ b/XMonad/Hooks/XPropManage.hs @@ -26,7 +26,7 @@ import XMonad import XMonad.Prelude (Endo (..), chr) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Hooks.XPropManage -- > import qualified XMonad.StackSet as W diff --git a/XMonad/Layout/Accordion.hs b/XMonad/Layout/Accordion.hs index 76dfa33d..4a87c5da 100644 --- a/XMonad/Layout/Accordion.hs +++ b/XMonad/Layout/Accordion.hs @@ -25,7 +25,7 @@ import qualified XMonad.StackSet as W import Data.Ratio -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Accordion -- diff --git a/XMonad/Layout/AvoidFloats.hs b/XMonad/Layout/AvoidFloats.hs index b9e88f12..8de2c0fd 100644 --- a/XMonad/Layout/AvoidFloats.hs +++ b/XMonad/Layout/AvoidFloats.hs @@ -35,7 +35,7 @@ import qualified Data.Map as M import qualified Data.Set as S -- $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.hs@ file: -- -- > import XMonad.Layout.AvoidFloats -- diff --git a/XMonad/Layout/BinarySpacePartition.hs b/XMonad/Layout/BinarySpacePartition.hs index 1966ccd2..83f6589f 100644 --- a/XMonad/Layout/BinarySpacePartition.hs +++ b/XMonad/Layout/BinarySpacePartition.hs @@ -52,7 +52,7 @@ import qualified Data.Set as S import Data.Ratio ((%)) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.BinarySpacePartition -- diff --git a/XMonad/Layout/BorderResize.hs b/XMonad/Layout/BorderResize.hs index 44595b0f..f697bfe3 100644 --- a/XMonad/Layout/BorderResize.hs +++ b/XMonad/Layout/BorderResize.hs @@ -38,7 +38,7 @@ import qualified Data.Map as M -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.BorderResize -- > myLayout = borderResize (... layout setup that reacts to SetGeometry ...) diff --git a/XMonad/Layout/BoringWindows.hs b/XMonad/Layout/BoringWindows.hs index 8effd2e9..f1816ead 100644 --- a/XMonad/Layout/BoringWindows.hs +++ b/XMonad/Layout/BoringWindows.hs @@ -45,7 +45,7 @@ import qualified XMonad.StackSet as W -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.BoringWindows -- diff --git a/XMonad/Layout/ButtonDecoration.hs b/XMonad/Layout/ButtonDecoration.hs index 31f73965..1c1cbbc4 100644 --- a/XMonad/Layout/ButtonDecoration.hs +++ b/XMonad/Layout/ButtonDecoration.hs @@ -33,7 +33,7 @@ import XMonad.Layout.DecorationAddons -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.DecorationAddons -- > import XMonad.Layout.ButtonDecoration diff --git a/XMonad/Layout/CenteredIfSingle.hs b/XMonad/Layout/CenteredIfSingle.hs index 07d24ee0..7f4c761f 100644 --- a/XMonad/Layout/CenteredIfSingle.hs +++ b/XMonad/Layout/CenteredIfSingle.hs @@ -30,7 +30,7 @@ import XMonad.Layout.LayoutModifier import XMonad.Prelude (fi) -- $usage --- You can use this module by including the following in your @~\/.xmonad/xmonad.hs@: +-- You can use this module by including the following in your @xmonad.hs@: -- -- > import XMonad.Layout.CenteredIfSingle -- diff --git a/XMonad/Layout/Circle.hs b/XMonad/Layout/Circle.hs index 511e92f3..d33cfb9a 100644 --- a/XMonad/Layout/Circle.hs +++ b/XMonad/Layout/Circle.hs @@ -26,7 +26,7 @@ import GHC.Real (Ratio(..)) import XMonad.Layout.CircleEx -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Circle -- diff --git a/XMonad/Layout/Combo.hs b/XMonad/Layout/Combo.hs index ad3da59e..2387203f 100644 --- a/XMonad/Layout/Combo.hs +++ b/XMonad/Layout/Combo.hs @@ -33,7 +33,7 @@ import XMonad.StackSet (Stack (..), Workspace (..), integrate') import XMonad.Util.Stack (zipperFocusedAtFirstOf) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Combo -- diff --git a/XMonad/Layout/ComboP.hs b/XMonad/Layout/ComboP.hs index 81d7892b..7a3f5ea9 100644 --- a/XMonad/Layout/ComboP.hs +++ b/XMonad/Layout/ComboP.hs @@ -34,7 +34,7 @@ import XMonad.Util.Stack (zipperFocusedAtFirstOf) import XMonad.Util.WindowProperties -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.ComboP -- diff --git a/XMonad/Layout/Cross.hs b/XMonad/Layout/Cross.hs index 0c0260c3..e6c892f1 100644 --- a/XMonad/Layout/Cross.hs +++ b/XMonad/Layout/Cross.hs @@ -23,7 +23,7 @@ import XMonad.StackSet( focus, up, down ) import XMonad.Prelude( msum ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Cross -- diff --git a/XMonad/Layout/DecorationMadness.hs b/XMonad/Layout/DecorationMadness.hs index ea2663eb..7ddc15de 100644 --- a/XMonad/Layout/DecorationMadness.hs +++ b/XMonad/Layout/DecorationMadness.hs @@ -100,7 +100,7 @@ import XMonad.Layout.SimpleFloat -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.DecorationMadness -- diff --git a/XMonad/Layout/Dishes.hs b/XMonad/Layout/Dishes.hs index 47d2c28d..b808b085 100644 --- a/XMonad/Layout/Dishes.hs +++ b/XMonad/Layout/Dishes.hs @@ -27,7 +27,7 @@ import XMonad.StackSet (integrate) import XMonad.Prelude (ap) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Dishes -- diff --git a/XMonad/Layout/DragPane.hs b/XMonad/Layout/DragPane.hs index 9c8ec7b3..3ea4e0e4 100644 --- a/XMonad/Layout/DragPane.hs +++ b/XMonad/Layout/DragPane.hs @@ -35,7 +35,7 @@ import XMonad.Util.Invisible import XMonad.Util.XUtils -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.DragPane -- diff --git a/XMonad/Layout/Drawer.hs b/XMonad/Layout/Drawer.hs index 0a179d60..16d86c33 100644 --- a/XMonad/Layout/Drawer.hs +++ b/XMonad/Layout/Drawer.hs @@ -41,7 +41,7 @@ import XMonad.StackSet as S import XMonad.Layout.Reflect -- $usage --- To use this module, add the following import to @~\/.xmonad\/xmonad.hs@: +-- To use this module, add the following import to @xmonad.hs@: -- -- > import XMonad.Layout.Drawer -- diff --git a/XMonad/Layout/DwmStyle.hs b/XMonad/Layout/DwmStyle.hs index 5c581eb2..af21aa15 100644 --- a/XMonad/Layout/DwmStyle.hs +++ b/XMonad/Layout/DwmStyle.hs @@ -30,7 +30,7 @@ import XMonad.Layout.Decoration -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.DwmStyle -- diff --git a/XMonad/Layout/FixedAspectRatio.hs b/XMonad/Layout/FixedAspectRatio.hs index 2a2964a0..d7dd62ab 100644 --- a/XMonad/Layout/FixedAspectRatio.hs +++ b/XMonad/Layout/FixedAspectRatio.hs @@ -38,7 +38,7 @@ import XMonad.Layout.Decoration import XMonad.Layout.LayoutHints -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.FixedAspectRatio -- Then add it to your layout: diff --git a/XMonad/Layout/FixedColumn.hs b/XMonad/Layout/FixedColumn.hs index cd7973a1..0b5ca286 100644 --- a/XMonad/Layout/FixedColumn.hs +++ b/XMonad/Layout/FixedColumn.hs @@ -28,7 +28,7 @@ import XMonad.Prelude import qualified XMonad.StackSet as W -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.FixedColumn -- diff --git a/XMonad/Layout/Gaps.hs b/XMonad/Layout/Gaps.hs index 5b24d435..49053337 100644 --- a/XMonad/Layout/Gaps.hs +++ b/XMonad/Layout/Gaps.hs @@ -44,7 +44,7 @@ import XMonad.Layout.LayoutModifier import XMonad.Util.Types (Direction2D(..)) -- $usage --- You can use this module by importing it into your @~\/.xmonad\/xmonad.hs@ file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Layout.Gaps -- diff --git a/XMonad/Layout/Grid.hs b/XMonad/Layout/Grid.hs index a89fc8bb..b18b89d5 100644 --- a/XMonad/Layout/Grid.hs +++ b/XMonad/Layout/Grid.hs @@ -25,7 +25,7 @@ import XMonad import XMonad.StackSet -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Grid -- diff --git a/XMonad/Layout/Groups/Examples.hs b/XMonad/Layout/Groups/Examples.hs index c0acb333..2a88ef6d 100644 --- a/XMonad/Layout/Groups/Examples.hs +++ b/XMonad/Layout/Groups/Examples.hs @@ -76,7 +76,7 @@ import XMonad.Layout.Simplest -- -- > import XMonad.Layout.Groups.Examples -- --- to the top of your @.\/.xmonad\/xmonad.hs@. +-- to the top of your @xmonad.hs@. -- -- For more information on using any of the layouts, jump directly -- to its \"Example\" section. diff --git a/XMonad/Layout/Groups/Helpers.hs b/XMonad/Layout/Groups/Helpers.hs index 40b799cf..72a8dc43 100644 --- a/XMonad/Layout/Groups/Helpers.hs +++ b/XMonad/Layout/Groups/Helpers.hs @@ -58,7 +58,7 @@ import qualified Data.Map as M -- -- > import XMonad.Layout.Groups.Helpers -- --- to the top of your @.\/.xmonad\/xmonad.hs@. +-- to the top of your @xmonad.hs@. -- -- "XMonad.Layout.Groups"-based layouts do not have the same notion -- of window ordering as the rest of XMonad. For this reason, the usual diff --git a/XMonad/Layout/Groups/Wmii.hs b/XMonad/Layout/Groups/Wmii.hs index f4347771..709d2bdc 100644 --- a/XMonad/Layout/Groups/Wmii.hs +++ b/XMonad/Layout/Groups/Wmii.hs @@ -66,7 +66,7 @@ import XMonad.Layout.Simplest -- -- > import XMonad.Layout.Groups.Wmii -- --- to the top of your @.\/.xmonad\/xmonad.hs@, and adding 'wmii' +-- to the top of your @xmonad.hs@, and adding 'wmii' -- (with a 'Shrinker' and decoration 'Theme' as -- parameters) to your layout hook, for example: -- diff --git a/XMonad/Layout/Hidden.hs b/XMonad/Layout/Hidden.hs index 778fb580..830d2b69 100644 --- a/XMonad/Layout/Hidden.hs +++ b/XMonad/Layout/Hidden.hs @@ -37,7 +37,7 @@ import qualified XMonad.StackSet as W -------------------------------------------------------------------------------- -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Hidden -- diff --git a/XMonad/Layout/HintedGrid.hs b/XMonad/Layout/HintedGrid.hs index bb84fb09..624a958b 100644 --- a/XMonad/Layout/HintedGrid.hs +++ b/XMonad/Layout/HintedGrid.hs @@ -36,7 +36,7 @@ infixr 9 . (.) = fmap -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.HintedGrid -- diff --git a/XMonad/Layout/HintedTile.hs b/XMonad/Layout/HintedTile.hs index 5214b283..c9138696 100644 --- a/XMonad/Layout/HintedTile.hs +++ b/XMonad/Layout/HintedTile.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W import XMonad.Prelude -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.HintedTile -- diff --git a/XMonad/Layout/IM.hs b/XMonad/Layout/IM.hs index aa56ad8e..69e8de1f 100644 --- a/XMonad/Layout/IM.hs +++ b/XMonad/Layout/IM.hs @@ -39,7 +39,7 @@ import qualified XMonad.StackSet as S import Control.Arrow (first) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.IM -- > import Data.Ratio ((%)) diff --git a/XMonad/Layout/ImageButtonDecoration.hs b/XMonad/Layout/ImageButtonDecoration.hs index 15655809..5d14d49a 100644 --- a/XMonad/Layout/ImageButtonDecoration.hs +++ b/XMonad/Layout/ImageButtonDecoration.hs @@ -47,7 +47,7 @@ import XMonad.Layout.Maximize -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.ImageButtonDecoration -- diff --git a/XMonad/Layout/IndependentScreens.hs b/XMonad/Layout/IndependentScreens.hs index 5bf89491..49f11019 100644 --- a/XMonad/Layout/IndependentScreens.hs +++ b/XMonad/Layout/IndependentScreens.hs @@ -42,7 +42,7 @@ import XMonad.Prelude import qualified XMonad.StackSet as W -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.IndependentScreens -- diff --git a/XMonad/Layout/LayoutBuilder.hs b/XMonad/Layout/LayoutBuilder.hs index fef7778b..6e98439e 100644 --- a/XMonad/Layout/LayoutBuilder.hs +++ b/XMonad/Layout/LayoutBuilder.hs @@ -66,7 +66,7 @@ import XMonad.Util.WindowProperties -------------------------------------------------------------------------------- -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.LayoutBuilder -- diff --git a/XMonad/Layout/LayoutCombinators.hs b/XMonad/Layout/LayoutCombinators.hs index 44e1db44..bd01fd64 100644 --- a/XMonad/Layout/LayoutCombinators.hs +++ b/XMonad/Layout/LayoutCombinators.hs @@ -51,7 +51,7 @@ import XMonad.Layout.Combo import XMonad.Layout.DragPane -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.LayoutCombinators -- diff --git a/XMonad/Layout/LayoutHints.hs b/XMonad/Layout/LayoutHints.hs index dbd4e775..1dcc740b 100644 --- a/XMonad/Layout/LayoutHints.hs +++ b/XMonad/Layout/LayoutHints.hs @@ -47,7 +47,7 @@ import Data.Set (Set) import qualified Data.Set as Set -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.LayoutHints -- diff --git a/XMonad/Layout/LayoutScreens.hs b/XMonad/Layout/LayoutScreens.hs index b82356a0..922e8161 100644 --- a/XMonad/Layout/LayoutScreens.hs +++ b/XMonad/Layout/LayoutScreens.hs @@ -36,7 +36,7 @@ import qualified XMonad.StackSet as W -- email window at all times, a crude mimic of sticky windows). -- -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@ file: +-- @xmonad.hs@ file: -- -- > import XMonad.Layout.LayoutScreens -- > import XMonad.Layout.TwoPane diff --git a/XMonad/Layout/LimitWindows.hs b/XMonad/Layout/LimitWindows.hs index 3a565a6f..70b6d3db 100644 --- a/XMonad/Layout/LimitWindows.hs +++ b/XMonad/Layout/LimitWindows.hs @@ -44,7 +44,7 @@ import XMonad.Prelude (fromJust, guard, (<=<)) import qualified XMonad.StackSet as W -- $usage --- To use this module, add the following import to @~\/.xmonad\/xmonad.hs@: +-- To use this module, add the following import to @xmonad.hs@: -- -- > import XMonad.Layout.LimitWindows -- diff --git a/XMonad/Layout/MagicFocus.hs b/XMonad/Layout/MagicFocus.hs index d1e2e5da..d3952801 100644 --- a/XMonad/Layout/MagicFocus.hs +++ b/XMonad/Layout/MagicFocus.hs @@ -34,7 +34,7 @@ import XMonad.Prelude(All(..)) import qualified Data.Map as M -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.MagicFocus -- diff --git a/XMonad/Layout/Magnifier.hs b/XMonad/Layout/Magnifier.hs index 72a5fb02..e11b778d 100644 --- a/XMonad/Layout/Magnifier.hs +++ b/XMonad/Layout/Magnifier.hs @@ -59,7 +59,7 @@ import XMonad.Layout.LayoutModifier import XMonad.StackSet -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Magnifier -- diff --git a/XMonad/Layout/Master.hs b/XMonad/Layout/Master.hs index 4eaabb8f..87236d17 100644 --- a/XMonad/Layout/Master.hs +++ b/XMonad/Layout/Master.hs @@ -31,7 +31,7 @@ import XMonad.Layout.LayoutModifier import Control.Arrow (first) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Master -- diff --git a/XMonad/Layout/Maximize.hs b/XMonad/Layout/Maximize.hs index 1fcb6786..65562f83 100644 --- a/XMonad/Layout/Maximize.hs +++ b/XMonad/Layout/Maximize.hs @@ -31,7 +31,7 @@ import XMonad.Layout.LayoutModifier import XMonad.Prelude ( partition ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Maximize -- diff --git a/XMonad/Layout/MessageControl.hs b/XMonad/Layout/MessageControl.hs index b4f8c1f4..318892ef 100644 --- a/XMonad/Layout/MessageControl.hs +++ b/XMonad/Layout/MessageControl.hs @@ -35,7 +35,7 @@ import XMonad.Layout.LayoutModifier (LayoutModifier(..), ModifiedLayout(..)) import Control.Arrow (second) -- $usage --- You can use this module by importing it into your @~\/.xmonad\/xmonad.hs@ file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Layout.MessageEscape -- diff --git a/XMonad/Layout/Minimize.hs b/XMonad/Layout/Minimize.hs index b7a1d900..21293128 100644 --- a/XMonad/Layout/Minimize.hs +++ b/XMonad/Layout/Minimize.hs @@ -30,7 +30,7 @@ import XMonad.Layout.BoringWindows as BW import qualified XMonad.Util.ExtensibleState as XS -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Minimize -- diff --git a/XMonad/Layout/Monitor.hs b/XMonad/Layout/Monitor.hs index 59c50b94..3f696729 100644 --- a/XMonad/Layout/Monitor.hs +++ b/XMonad/Layout/Monitor.hs @@ -40,7 +40,7 @@ import XMonad.Hooks.ManageHelpers (doHideIgnore) import XMonad.Hooks.FadeInactive (setOpacity) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Monitor -- diff --git a/XMonad/Layout/Mosaic.hs b/XMonad/Layout/Mosaic.hs index 6aa9298a..6082dce6 100644 --- a/XMonad/Layout/Mosaic.hs +++ b/XMonad/Layout/Mosaic.hs @@ -41,7 +41,7 @@ import qualified XMonad.StackSet as W import Control.Arrow(second, first) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Mosaic -- diff --git a/XMonad/Layout/MosaicAlt.hs b/XMonad/Layout/MosaicAlt.hs index 542a33e0..641049ef 100644 --- a/XMonad/Layout/MosaicAlt.hs +++ b/XMonad/Layout/MosaicAlt.hs @@ -38,7 +38,7 @@ import XMonad.Prelude ( sortBy ) import Data.Ratio -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.MosaicAlt -- > import qualified Data.Map as M diff --git a/XMonad/Layout/MouseResizableTile.hs b/XMonad/Layout/MouseResizableTile.hs index 848facbc..679c45ac 100644 --- a/XMonad/Layout/MouseResizableTile.hs +++ b/XMonad/Layout/MouseResizableTile.hs @@ -41,7 +41,7 @@ import XMonad.Util.XUtils import Graphics.X11 as X -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.MouseResizableTile -- diff --git a/XMonad/Layout/MultiColumns.hs b/XMonad/Layout/MultiColumns.hs index 4009697d..f7db877d 100644 --- a/XMonad/Layout/MultiColumns.hs +++ b/XMonad/Layout/MultiColumns.hs @@ -29,7 +29,7 @@ import qualified XMonad.StackSet as W import XMonad.Prelude -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.MultiColumns -- diff --git a/XMonad/Layout/MultiDishes.hs b/XMonad/Layout/MultiDishes.hs index 85043a36..8b76ad86 100644 --- a/XMonad/Layout/MultiDishes.hs +++ b/XMonad/Layout/MultiDishes.hs @@ -27,7 +27,7 @@ import XMonad.StackSet (integrate) import XMonad.Prelude (ap) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.MultiDishes -- diff --git a/XMonad/Layout/Named.hs b/XMonad/Layout/Named.hs index dabddf14..14a0bef2 100644 --- a/XMonad/Layout/Named.hs +++ b/XMonad/Layout/Named.hs @@ -27,7 +27,7 @@ import XMonad.Layout.LayoutModifier import XMonad.Layout.Renamed -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Named -- diff --git a/XMonad/Layout/NoBorders.hs b/XMonad/Layout/NoBorders.hs index e51b83c7..a333bd71 100644 --- a/XMonad/Layout/NoBorders.hs +++ b/XMonad/Layout/NoBorders.hs @@ -45,7 +45,7 @@ import qualified Data.Map as M -- $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.hs file: -- -- > import XMonad.Layout.NoBorders -- diff --git a/XMonad/Layout/NoFrillsDecoration.hs b/XMonad/Layout/NoFrillsDecoration.hs index 25cdea5f..1cd0d596 100644 --- a/XMonad/Layout/NoFrillsDecoration.hs +++ b/XMonad/Layout/NoFrillsDecoration.hs @@ -31,7 +31,7 @@ import XMonad.Layout.SimpleDecoration -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.NoFrillsDecoration -- diff --git a/XMonad/Layout/OnHost.hs b/XMonad/Layout/OnHost.hs index e9456a54..883a2ce7 100644 --- a/XMonad/Layout/OnHost.hs +++ b/XMonad/Layout/OnHost.hs @@ -34,7 +34,7 @@ import Data.Maybe (fromMaybe) import System.Posix.Env (getEnv) -- $usage --- You can use this module by importing it into your ~\/.xmonad\/xmonad.hs file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Layout.OnHost -- diff --git a/XMonad/Layout/PerScreen.hs b/XMonad/Layout/PerScreen.hs index b07d7429..e2f034c8 100644 --- a/XMonad/Layout/PerScreen.hs +++ b/XMonad/Layout/PerScreen.hs @@ -29,7 +29,7 @@ import qualified XMonad.StackSet as W import XMonad.Prelude (fromMaybe) -- $usage --- You can use this module by importing it into your ~\/.xmonad\/xmonad.hs file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Layout.PerScreen -- diff --git a/XMonad/Layout/PerWorkspace.hs b/XMonad/Layout/PerWorkspace.hs index 536a6762..767bcb83 100644 --- a/XMonad/Layout/PerWorkspace.hs +++ b/XMonad/Layout/PerWorkspace.hs @@ -29,7 +29,7 @@ import qualified XMonad.StackSet as W import XMonad.Prelude (fromMaybe) -- $usage --- You can use this module by importing it into your ~\/.xmonad\/xmonad.hs file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Layout.PerWorkspace -- diff --git a/XMonad/Layout/PositionStoreFloat.hs b/XMonad/Layout/PositionStoreFloat.hs index 9c7af1d5..308e83bc 100644 --- a/XMonad/Layout/PositionStoreFloat.hs +++ b/XMonad/Layout/PositionStoreFloat.hs @@ -33,7 +33,7 @@ import XMonad.Layout.WindowArranger import XMonad.Prelude (fromMaybe, isJust, nub, when) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.PositionStoreFloat -- > import XMonad.Layout.NoFrillsDecoration diff --git a/XMonad/Layout/Reflect.hs b/XMonad/Layout/Reflect.hs index 06a52c11..2819749c 100644 --- a/XMonad/Layout/Reflect.hs +++ b/XMonad/Layout/Reflect.hs @@ -32,7 +32,7 @@ import XMonad.Layout.LayoutModifier import XMonad.Layout.MultiToggle -- $usage --- You can use this module by importing it into your @~\/.xmonad\/xmonad.hs@ file: +-- You can use this module by importing it into your @xmonad.hs@ file: -- -- > import XMonad.Layout.Reflect -- diff --git a/XMonad/Layout/Renamed.hs b/XMonad/Layout/Renamed.hs index 01efdf9d..3588e911 100644 --- a/XMonad/Layout/Renamed.hs +++ b/XMonad/Layout/Renamed.hs @@ -30,7 +30,7 @@ import XMonad.Layout.LayoutModifier -- -- > import XMonad.Layout.Renamed -- --- to your @~\/.xmonad\/xmonad.hs@. +-- to your @xmonad.hs@. -- -- You can then use 'renamed' to modify the description of your -- layouts. For example: diff --git a/XMonad/Layout/ResizableThreeColumns.hs b/XMonad/Layout/ResizableThreeColumns.hs index 90eca403..d488ffbb 100644 --- a/XMonad/Layout/ResizableThreeColumns.hs +++ b/XMonad/Layout/ResizableThreeColumns.hs @@ -31,7 +31,7 @@ import qualified Data.Map as M import Data.Ratio -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.ResizableThreeColumns -- diff --git a/XMonad/Layout/ResizableTile.hs b/XMonad/Layout/ResizableTile.hs index 6b06100c..9464f662 100644 --- a/XMonad/Layout/ResizableTile.hs +++ b/XMonad/Layout/ResizableTile.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W import qualified Data.Map as M -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.ResizableTile -- diff --git a/XMonad/Layout/ResizeScreen.hs b/XMonad/Layout/ResizeScreen.hs index 0e7984ad..c5c73bf1 100644 --- a/XMonad/Layout/ResizeScreen.hs +++ b/XMonad/Layout/ResizeScreen.hs @@ -31,7 +31,7 @@ import XMonad.Layout.Decoration -- $usage -- You can use this module by importing it into your --- @~\/.xmonad\/xmonad.hs@ file: +-- @xmonad.hs@ file: -- -- > import XMonad.Layout.ResizeScreen -- diff --git a/XMonad/Layout/Roledex.hs b/XMonad/Layout/Roledex.hs index bb4b065f..5b0a1ea4 100644 --- a/XMonad/Layout/Roledex.hs +++ b/XMonad/Layout/Roledex.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W import Data.Ratio -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Roledex -- diff --git a/XMonad/Layout/ShowWName.hs b/XMonad/Layout/ShowWName.hs index 2c456249..62432b19 100644 --- a/XMonad/Layout/ShowWName.hs +++ b/XMonad/Layout/ShowWName.hs @@ -35,7 +35,7 @@ import XMonad.Util.XUtils -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.ShowWName -- > myLayout = layoutHook def diff --git a/XMonad/Layout/SimpleDecoration.hs b/XMonad/Layout/SimpleDecoration.hs index 6f80ea25..96e22d64 100644 --- a/XMonad/Layout/SimpleDecoration.hs +++ b/XMonad/Layout/SimpleDecoration.hs @@ -32,7 +32,7 @@ import XMonad.Layout.Decoration -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.SimpleDecoration -- diff --git a/XMonad/Layout/SimpleFloat.hs b/XMonad/Layout/SimpleFloat.hs index 004a7d7a..4b0ba661 100644 --- a/XMonad/Layout/SimpleFloat.hs +++ b/XMonad/Layout/SimpleFloat.hs @@ -33,7 +33,7 @@ import XMonad.Layout.WindowArranger -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.SimpleFloat -- diff --git a/XMonad/Layout/Simplest.hs b/XMonad/Layout/Simplest.hs index 74545736..1d7a1325 100644 --- a/XMonad/Layout/Simplest.hs +++ b/XMonad/Layout/Simplest.hs @@ -26,7 +26,7 @@ import qualified XMonad.StackSet as S -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.Simplest -- diff --git a/XMonad/Layout/SimplestFloat.hs b/XMonad/Layout/SimplestFloat.hs index f9e8a15c..314a43ff 100644 --- a/XMonad/Layout/SimplestFloat.hs +++ b/XMonad/Layout/SimplestFloat.hs @@ -28,7 +28,7 @@ import XMonad.Layout.LayoutModifier -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.SimplestFloat -- diff --git a/XMonad/Layout/SortedLayout.hs b/XMonad/Layout/SortedLayout.hs index 5e85c1d0..b5fa4a3e 100644 --- a/XMonad/Layout/SortedLayout.hs +++ b/XMonad/Layout/SortedLayout.hs @@ -33,7 +33,7 @@ import XMonad.Util.WindowProperties -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.SortedLayout -- diff --git a/XMonad/Layout/Spacing.hs b/XMonad/Layout/Spacing.hs index 08e23643..a14e84d4 100644 --- a/XMonad/Layout/Spacing.hs +++ b/XMonad/Layout/Spacing.hs @@ -51,7 +51,7 @@ import XMonad.Actions.MessageFeedback -- $usage --- You can use this module by importing it into your @~\/.xmonad\/xmonad.hs@ +-- You can use this module by importing it into your @xmonad.hs@ -- file: -- -- > import XMonad.Layout.Spacing diff --git a/XMonad/Layout/Spiral.hs b/XMonad/Layout/Spiral.hs index a2fd10ec..6f95c65e 100644 --- a/XMonad/Layout/Spiral.hs +++ b/XMonad/Layout/Spiral.hs @@ -31,7 +31,7 @@ import XMonad hiding ( Rotation ) import XMonad.StackSet ( integrate ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Spiral -- diff --git a/XMonad/Layout/Square.hs b/XMonad/Layout/Square.hs index cf10d730..b975ea44 100644 --- a/XMonad/Layout/Square.hs +++ b/XMonad/Layout/Square.hs @@ -29,7 +29,7 @@ import XMonad import XMonad.StackSet ( integrate ) -- $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.hs@ file: -- -- > import XMonad.Layout.Square -- diff --git a/XMonad/Layout/StackTile.hs b/XMonad/Layout/StackTile.hs index 0bc18605..41124522 100644 --- a/XMonad/Layout/StackTile.hs +++ b/XMonad/Layout/StackTile.hs @@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W import XMonad.Prelude -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.StackTile -- diff --git a/XMonad/Layout/Stoppable.hs b/XMonad/Layout/Stoppable.hs index 78d8e9a8..74f7c623 100644 --- a/XMonad/Layout/Stoppable.hs +++ b/XMonad/Layout/Stoppable.hs @@ -58,7 +58,7 @@ import XMonad.Layout.LayoutModifier import System.Posix.Signals -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Layout.Stoppable diff --git a/XMonad/Layout/SubLayouts.hs b/XMonad/Layout/SubLayouts.hs index c12829e0..d9fa13fd 100644 --- a/XMonad/Layout/SubLayouts.hs +++ b/XMonad/Layout/SubLayouts.hs @@ -113,7 +113,7 @@ import qualified Data.Set as S -- -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.SubLayouts -- > import XMonad.Layout.WindowNavigation diff --git a/XMonad/Layout/TabBarDecoration.hs b/XMonad/Layout/TabBarDecoration.hs index d94a3807..593162e4 100644 --- a/XMonad/Layout/TabBarDecoration.hs +++ b/XMonad/Layout/TabBarDecoration.hs @@ -31,7 +31,7 @@ import XMonad.Prompt ( XPPosition (..) ) -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.TabBarDecoration -- diff --git a/XMonad/Layout/Tabbed.hs b/XMonad/Layout/Tabbed.hs index e9fd78d8..8790cbd8 100644 --- a/XMonad/Layout/Tabbed.hs +++ b/XMonad/Layout/Tabbed.hs @@ -43,7 +43,7 @@ import XMonad.Layout.Simplest ( Simplest(Simplest) ) import XMonad.Util.Types (Direction2D(..)) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.Tabbed -- diff --git a/XMonad/Layout/TallMastersCombo.hs b/XMonad/Layout/TallMastersCombo.hs index 5e5f68bb..957ebc44 100644 --- a/XMonad/Layout/TallMastersCombo.hs +++ b/XMonad/Layout/TallMastersCombo.hs @@ -56,7 +56,7 @@ import XMonad.Util.Stack (zipperFocusedAtFirstOf) --------------------------------------------------------------------------------- -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.TallMastersCombo -- diff --git a/XMonad/Layout/ThreeColumns.hs b/XMonad/Layout/ThreeColumns.hs index 075021ca..145c6d3f 100644 --- a/XMonad/Layout/ThreeColumns.hs +++ b/XMonad/Layout/ThreeColumns.hs @@ -32,7 +32,7 @@ import qualified XMonad.StackSet as W import Data.Ratio -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.ThreeColumns -- diff --git a/XMonad/Layout/ToggleLayouts.hs b/XMonad/Layout/ToggleLayouts.hs index 71417f37..c097d5d0 100644 --- a/XMonad/Layout/ToggleLayouts.hs +++ b/XMonad/Layout/ToggleLayouts.hs @@ -25,7 +25,7 @@ import XMonad.Prelude (fromMaybe) import XMonad.StackSet (Workspace (..)) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.ToggleLayouts -- diff --git a/XMonad/Layout/TwoPane.hs b/XMonad/Layout/TwoPane.hs index 67bf9028..69c983cb 100644 --- a/XMonad/Layout/TwoPane.hs +++ b/XMonad/Layout/TwoPane.hs @@ -27,7 +27,7 @@ import XMonad hiding (focus) import XMonad.StackSet ( focus, up, down) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.TwoPane -- diff --git a/XMonad/Layout/TwoPanePersistent.hs b/XMonad/Layout/TwoPanePersistent.hs index f5898472..64fae613 100644 --- a/XMonad/Layout/TwoPanePersistent.hs +++ b/XMonad/Layout/TwoPanePersistent.hs @@ -28,7 +28,7 @@ import XMonad.StackSet (focus, up, down, Stack, Stack(..)) import XMonad hiding (focus) -- $usage --- Import the module in @~\/.xmonad\/xmonad.hs@: +-- Import the module in @xmonad.hs@: -- -- > import XMonad.Layout.TwoPanePersistent -- diff --git a/XMonad/Layout/VoidBorders.hs b/XMonad/Layout/VoidBorders.hs index fa956834..1837926b 100644 --- a/XMonad/Layout/VoidBorders.hs +++ b/XMonad/Layout/VoidBorders.hs @@ -35,7 +35,7 @@ import XMonad.Layout.LayoutModifier import XMonad.StackSet (integrate) -- $usage --- You can use this module with the following in your ~\/.xmonad/xmonad.hs +-- You can use this module with the following in your @xmonad.hs@ -- file: -- -- > import XMonad.Layout.VoidBorders diff --git a/XMonad/Layout/WindowArranger.hs b/XMonad/Layout/WindowArranger.hs index dc504c86..9ca9d65d 100644 --- a/XMonad/Layout/WindowArranger.hs +++ b/XMonad/Layout/WindowArranger.hs @@ -35,7 +35,7 @@ import Control.Arrow ((***), (>>>), (&&&), first) -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.WindowArranger -- > myLayout = layoutHook def diff --git a/XMonad/Layout/WindowNavigation.hs b/XMonad/Layout/WindowNavigation.hs index f2ada090..51044302 100644 --- a/XMonad/Layout/WindowNavigation.hs +++ b/XMonad/Layout/WindowNavigation.hs @@ -35,7 +35,7 @@ import XMonad.Util.Types (Direction2D(..)) import XMonad.Util.XUtils -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.WindowNavigation -- diff --git a/XMonad/Layout/WindowSwitcherDecoration.hs b/XMonad/Layout/WindowSwitcherDecoration.hs index 2ed17387..24d04179 100644 --- a/XMonad/Layout/WindowSwitcherDecoration.hs +++ b/XMonad/Layout/WindowSwitcherDecoration.hs @@ -36,7 +36,7 @@ import Foreign.C.Types(CInt) -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Layout.WindowSwitcherDecoration -- > import XMonad.Layout.DraggingVisualizer diff --git a/XMonad/Layout/WorkspaceDir.hs b/XMonad/Layout/WorkspaceDir.hs index a3a0b9f7..afe235cf 100644 --- a/XMonad/Layout/WorkspaceDir.hs +++ b/XMonad/Layout/WorkspaceDir.hs @@ -41,7 +41,7 @@ import XMonad.Layout.LayoutModifier import XMonad.StackSet ( tag, currentTag ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Layout.WorkspaceDir -- diff --git a/XMonad/Layout/ZoomRow.hs b/XMonad/Layout/ZoomRow.hs index bc475acd..c1563d7c 100644 --- a/XMonad/Layout/ZoomRow.hs +++ b/XMonad/Layout/ZoomRow.hs @@ -49,7 +49,7 @@ import Control.Arrow (second) -- and decreased, and a window can be set to use the whole available -- space whenever it has focus. -- --- You can use this module by including the following in your @~\/.xmonad/xmonad.hs@: +-- You can use this module by including the following in your @xmonad.hs@: -- -- > import XMonad.Layout.ZoomRow -- diff --git a/XMonad/Prompt/AppendFile.hs b/XMonad/Prompt/AppendFile.hs index 24fcabc4..9f2b1673 100644 --- a/XMonad/Prompt/AppendFile.hs +++ b/XMonad/Prompt/AppendFile.hs @@ -37,7 +37,7 @@ import System.IO -- $usage -- -- You can use this module by importing it, along with --- "XMonad.Prompt", into your ~\/.xmonad\/xmonad.hs file: +-- "XMonad.Prompt", into your @xmonad.hs@ file: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.AppendFile diff --git a/XMonad/Prompt/DirExec.hs b/XMonad/Prompt/DirExec.hs index 5b77d439..d716bbe2 100644 --- a/XMonad/Prompt/DirExec.hs +++ b/XMonad/Prompt/DirExec.hs @@ -35,7 +35,7 @@ econst :: Monad m => a -> IOException -> m a econst = const . return -- $usage --- 1. In your @~\/.xmonad\/xmonad.hs@: +-- 1. In your @xmonad.hs@: -- -- > import XMonad.Prompt.DirExec -- diff --git a/XMonad/Prompt/Email.hs b/XMonad/Prompt/Email.hs index 9455c40c..901f123c 100644 --- a/XMonad/Prompt/Email.hs +++ b/XMonad/Prompt/Email.hs @@ -31,7 +31,7 @@ import XMonad.Prompt.Input -- $usage -- -- You can use this module by importing it, along with --- "XMonad.Prompt", into your ~\/.xmonad\/xmonad.hs file: +-- "XMonad.Prompt", into your @xmonad.hs@ file: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Email diff --git a/XMonad/Prompt/Layout.hs b/XMonad/Prompt/Layout.hs index 79c12989..fb52e4e1 100644 --- a/XMonad/Prompt/Layout.hs +++ b/XMonad/Prompt/Layout.hs @@ -26,7 +26,7 @@ import XMonad.Prompt.Workspace ( Wor(..) ) import XMonad.StackSet ( workspaces, layout ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Layout diff --git a/XMonad/Prompt/Man.hs b/XMonad/Prompt/Man.hs index f4df5ada..59f54248 100644 --- a/XMonad/Prompt/Man.hs +++ b/XMonad/Prompt/Man.hs @@ -39,7 +39,7 @@ import System.Process import qualified Control.Exception as E -- $usage --- 1. In your @~\/.xmonad\/xmonad.hs@: +-- 1. In your @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Man diff --git a/XMonad/Prompt/RunOrRaise.hs b/XMonad/Prompt/RunOrRaise.hs index 60e2ba64..87c51696 100644 --- a/XMonad/Prompt/RunOrRaise.hs +++ b/XMonad/Prompt/RunOrRaise.hs @@ -35,7 +35,7 @@ econst :: Monad m => a -> IOException -> m a econst = const . return {- $usage -1. In your @~\/.xmonad\/xmonad.hs@: +1. In your @xmonad.hs@: > import XMonad.Prompt > import XMonad.Prompt.RunOrRaise diff --git a/XMonad/Prompt/Shell.hs b/XMonad/Prompt/Shell.hs index 3d36e20c..2c1af000 100644 --- a/XMonad/Prompt/Shell.hs +++ b/XMonad/Prompt/Shell.hs @@ -52,7 +52,7 @@ econst :: Monad m => a -> IOException -> m a econst = const . return {- $usage -1. In your @~\/.xmonad\/xmonad.hs@: +1. In your @xmonad.hs@: > import XMonad.Prompt > import XMonad.Prompt.Shell diff --git a/XMonad/Prompt/Ssh.hs b/XMonad/Prompt/Ssh.hs index 02f209b3..5934c449 100644 --- a/XMonad/Prompt/Ssh.hs +++ b/XMonad/Prompt/Ssh.hs @@ -33,7 +33,7 @@ econst :: Monad m => a -> IOException -> m a econst = const . return -- $usage --- 1. In your @~\/.xmonad\/xmonad.hs@: +-- 1. In your @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Ssh diff --git a/XMonad/Prompt/Theme.hs b/XMonad/Prompt/Theme.hs index 92efacd0..76cb2e06 100644 --- a/XMonad/Prompt/Theme.hs +++ b/XMonad/Prompt/Theme.hs @@ -29,7 +29,7 @@ import XMonad.Util.Themes -- $usage -- You can use this module with the following in your --- @~\/.xmonad\/xmonad.hs@: +-- @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Theme diff --git a/XMonad/Prompt/Unicode.hs b/XMonad/Prompt/Unicode.hs index fdb9e655..5be9c27e 100644 --- a/XMonad/Prompt/Unicode.hs +++ b/XMonad/Prompt/Unicode.hs @@ -52,7 +52,7 @@ instance ExtensionClass UnicodeData where {- $usage You can use this module by importing it, along with -"XMonad.Prompt", into your ~\/.xmonad\/xmonad.hs file: +"XMonad.Prompt", into your @xmonad.hs@ file: > import XMonad.Prompt > import XMonad.Prompt.Unicode diff --git a/XMonad/Prompt/Window.hs b/XMonad/Prompt/Window.hs index fa0678b6..7fcb2d6f 100644 --- a/XMonad/Prompt/Window.hs +++ b/XMonad/Prompt/Window.hs @@ -44,7 +44,7 @@ import XMonad.Util.NamedWindows -- where you left your XChat. It also offers helpers to build the -- subset of windows which is used for the prompt completion. -- --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Window diff --git a/XMonad/Prompt/Workspace.hs b/XMonad/Prompt/Workspace.hs index 3e03c6de..4ebb6cf8 100644 --- a/XMonad/Prompt/Workspace.hs +++ b/XMonad/Prompt/Workspace.hs @@ -28,7 +28,7 @@ import XMonad.StackSet ( workspaces, tag ) import XMonad.Util.WorkspaceCompare ( getSortByIndex ) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.Workspace diff --git a/XMonad/Prompt/XMonad.hs b/XMonad/Prompt/XMonad.hs index 7b0a907e..1bc975c0 100644 --- a/XMonad/Prompt/XMonad.hs +++ b/XMonad/Prompt/XMonad.hs @@ -28,7 +28,7 @@ import XMonad.Actions.Commands (defaultCommands) import XMonad.Prelude (fromMaybe) -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad.Prompt -- > import XMonad.Prompt.XMonad diff --git a/XMonad/Prompt/Zsh.hs b/XMonad/Prompt/Zsh.hs index 5f65c0a0..f205bd25 100644 --- a/XMonad/Prompt/Zsh.hs +++ b/XMonad/Prompt/Zsh.hs @@ -28,7 +28,7 @@ import XMonad.Util.Run {- $usage 1. Grab the @capture.zsh@ script to capture zsh completions from -2. In your @~\/.xmonad\/xmonad.hs@: +2. In your @xmonad.hs@: > import XMonad.Prompt > import XMonad.Prompt.Zsh diff --git a/XMonad/Util/CustomKeys.hs b/XMonad/Util/CustomKeys.hs index e45a334a..eb7ecd19 100644 --- a/XMonad/Util/CustomKeys.hs +++ b/XMonad/Util/CustomKeys.hs @@ -25,7 +25,7 @@ import qualified Data.Map as M -- $usage -- --- In @~\/.xmonad\/xmonad.hs@ add: +-- In @xmonad.hs@ add: -- -- > import XMonad.Util.CustomKeys -- diff --git a/XMonad/Util/EZConfig.hs b/XMonad/Util/EZConfig.hs index 44ce85d8..e0753f71 100644 --- a/XMonad/Util/EZConfig.hs +++ b/XMonad/Util/EZConfig.hs @@ -58,7 +58,7 @@ import Data.Ord (comparing) import Data.List.NonEmpty (nonEmpty) -- $usage --- To use this module, first import it into your @~\/.xmonad\/xmonad.hs@: +-- To use this module, first import it into your @xmonad.hs@: -- -- > import XMonad.Util.EZConfig -- diff --git a/XMonad/Util/ExclusiveScratchpads.hs b/XMonad/Util/ExclusiveScratchpads.hs index ff073213..76e67bcf 100644 --- a/XMonad/Util/ExclusiveScratchpads.hs +++ b/XMonad/Util/ExclusiveScratchpads.hs @@ -54,7 +54,7 @@ import qualified Data.List.NonEmpty as NE -- "XMonad.Layout.Minimize", please refer to the documentation of these modules for more -- information on how to configure them. -- --- To use this module, put the following in your @~\/.xmonad\/xmonad.hs@: +-- To use this module, put the following in your @xmonad.hs@: -- -- > import XMonad.Utils.ExclusiveScratchpads -- > import XMonad.ManageHook (title,appName) diff --git a/XMonad/Util/Loggers.hs b/XMonad/Util/Loggers.hs index 8b8d9c23..a338496c 100644 --- a/XMonad/Util/Loggers.hs +++ b/XMonad/Util/Loggers.hs @@ -74,7 +74,7 @@ econst :: Monad m => a -> IOException -> m a econst = const . return -- $usage --- Use this module by importing it into your @~\/.xmonad\/xmonad.hs@: +-- Use this module by importing it into your @xmonad.hs@: -- -- > import XMonad.Util.Loggers -- @@ -217,7 +217,7 @@ logTitlesOnScreen' sid (TitlesFormat formatFoc formatUnfoc formatUrg) = -- | Like 'logTitlesOnScreen', but directly use the "focused" screen -- (the one with the currently focused workspace). logTitles :: (String -> String) -> (String -> String) -> Logger -logTitles formatFoc formatUnfoc = +logTitles formatFoc formatUnfoc = logWindowInfoFocusedScreen fetchWindowTitle formatFoc formatUnfoc formatUnfoc -- | Variant of 'logTitles', but with support for urgent windows. @@ -293,11 +293,11 @@ instance Default ClassnamesFormat where } -- | Internal function to get the specified window information for all windows on --- the visible workspace of the given screen and format them according to the +-- the visible workspace of the given screen and format them according to the -- given functions. -logWindowInfoOnScreen +logWindowInfoOnScreen :: (Window -> X String) - -> ScreenId + -> ScreenId -> (String -> String) -> (String -> String) -> (String -> String) @@ -312,10 +312,10 @@ logWindowInfoOnScreen getWindowInfo sid formatFoc formatUnfoc formatUrg = | otherwise -> formatUnfoc name -- | Internal helper function for 'logWindowInfoOnScreen'. -logWindowInfoOnScreenWorker - :: (Window -> X String) - -> WindowScreen - -> (Window -> String -> String) +logWindowInfoOnScreenWorker + :: (Window -> X String) + -> WindowScreen + -> (Window -> String -> String) -> Logger logWindowInfoOnScreenWorker getWindowInfo screen logger = do let wins = maybe [] W.integrate . W.stack . W.workspace $ screen @@ -396,7 +396,7 @@ logTitleOnScreen = logWindowInfoFocusedWindowOnScreen fetchWindowTitle logClassnameOnScreen :: ScreenId -> Logger logClassnameOnScreen = logWindowInfoFocusedWindowOnScreen fetchWindowClassname --- | Internal function to get the specified information for the focused window, +-- | Internal function to get the specified information for the focused window, -- on the given screen. logWindowInfoFocusedWindowOnScreen :: (Window -> X String) -> ScreenId -> Logger logWindowInfoFocusedWindowOnScreen getWindowInfo = diff --git a/XMonad/Util/Paste.hs b/XMonad/Util/Paste.hs index d0c8eb2f..7820e0df 100644 --- a/XMonad/Util/Paste.hs +++ b/XMonad/Util/Paste.hs @@ -35,7 +35,7 @@ import XMonad.Util.Parser (runParser) {- $usage -Import this module into your xmonad.hs as usual: +Import this module into your @xmonad.hs@ as usual: > import XMonad.Util.Paste diff --git a/XMonad/Util/RemoteWindows.hs b/XMonad/Util/RemoteWindows.hs index 450625e7..1f9a725a 100644 --- a/XMonad/Util/RemoteWindows.hs +++ b/XMonad/Util/RemoteWindows.hs @@ -44,7 +44,7 @@ import XMonad.Prelude import System.Posix.Env -- $usage --- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@: +-- You can use this module with the following in your @xmonad.hs@: -- -- > import XMonad -- > import XMonad.Util.RemoteWindows