~/.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.
This commit is contained in:
Tony Zorman 2023-12-22 18:16:07 +01:00
parent c01cd3a33b
commit b1b3c4c469
194 changed files with 210 additions and 213 deletions

View File

@ -24,7 +24,7 @@ import XMonad
import Data.Time (NominalDiffTime, diffUTCTime, getCurrentTime) import Data.Time (NominalDiffTime, diffUTCTime, getCurrentTime)
-- $usage -- $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 -- > import XMonad.Actions.AfterDrag
-- --

View File

@ -29,7 +29,7 @@ import System.Exit
-- $usage -- $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.Hooks.ServerMode
-- > import XMonad.Actions.BluetileCommands -- > import XMonad.Actions.BluetileCommands

View File

@ -37,7 +37,7 @@ import XMonad.Prelude
-- $usage -- $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 -- > import XMonad.Actions.Commands
-- --

View File

@ -26,7 +26,7 @@ import XMonad
-- $usage -- $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 -- > import qualified XMonad.Actions.ConstrainedResize as Sqr
-- --

View File

@ -37,7 +37,7 @@ import qualified XMonad.StackSet as W
-- $usage -- $usage
-- --
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.CopyWindow -- > import XMonad.Actions.CopyWindow
-- --

View File

@ -47,7 +47,7 @@ import Data.Function (on)
import Control.Monad.State (lift) import Control.Monad.State (lift)
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.CycleRecentWS -- > import XMonad.Actions.CycleRecentWS
-- > -- >

View File

@ -23,7 +23,7 @@ import XMonad.Prelude (elemIndex, fromMaybe)
import qualified XMonad.StackSet as S import qualified XMonad.StackSet as S
-- $usage -- $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
-- > import XMonad.Actions.CycleSelectedLayouts -- > import XMonad.Actions.CycleSelectedLayouts

View File

@ -92,7 +92,7 @@ import XMonad.Util.Types
import XMonad.Util.WorkspaceCompare import XMonad.Util.WorkspaceCompare
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.CycleWS -- > import XMonad.Actions.CycleWS
-- > -- >

View File

@ -64,7 +64,7 @@ import Control.Arrow (second)
import Control.Monad.Trans (lift) import Control.Monad.Trans (lift)
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.CycleWindows -- > import XMonad.Actions.CycleWindows
-- > -- config -- > -- config

View File

@ -39,7 +39,7 @@ import qualified XMonad.StackSet as W
import XMonad import XMonad
-- $usage -- $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 -- > import XMonad.Actions.DeManage
-- --

View File

@ -31,7 +31,7 @@ import qualified Data.List.NonEmpty as NE
-- $usage -- $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 -- > import XMonad.Actions.DwmPromote
-- --

View File

@ -51,7 +51,7 @@ import qualified XMonad.Util.ExtensibleState as XS
import XMonad.Actions.TopicSpace import XMonad.Actions.TopicSpace
-- $usage -- $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 -- > import XMonad.Actions.DynamicWorkspaceGroups
-- --

View File

@ -49,7 +49,7 @@ import XMonad.Prelude (fromJust, fromMaybe)
import Data.Ord (comparing) import Data.Ord (comparing)
-- $usage -- $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 -- > import qualified XMonad.Actions.DynamicWorkspaceOrder as DO
-- --

View File

@ -44,7 +44,7 @@ import qualified Data.Map.Strict as Map
import qualified XMonad.Util.ExtensibleState as XS import qualified XMonad.Util.ExtensibleState as XS
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.DynamicWorkspaces -- > import XMonad.Actions.DynamicWorkspaces
-- > import XMonad.Actions.CopyWindow(copy) -- > import XMonad.Actions.CopyWindow(copy)

View File

@ -51,7 +51,7 @@ import qualified Data.Map.Strict as M (Map, elems, map, mapWithKey)
-- $usage -- $usage
-- --
-- You can use this module's basic functionality with the following in your -- You can use this module's basic functionality with the following in your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Actions.EasyMotion (selectWindow) -- > import XMonad.Actions.EasyMotion (selectWindow)
-- --

View File

@ -25,7 +25,7 @@ import XMonad.StackSet
-- $usage -- $usage
-- --
-- To use, import this module into your @~\/.xmonad\/xmonad.hs@: -- To use, import this module into your @xmonad.hs@:
-- --
-- > import XMonad.Actions.FindEmptyWorkspace -- > import XMonad.Actions.FindEmptyWorkspace
-- --

View File

@ -29,7 +29,7 @@ import qualified Prelude as P
import Prelude (Double, Integer, Ord (..), const, fromIntegral, fst, id, otherwise, round, snd, uncurry, ($)) import Prelude (Double, Integer, Ord (..), const, fromIntegral, fst, id, otherwise, round, snd, uncurry, ($))
-- $usage -- $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 -- > import qualified XMonad.Actions.FlexibleManipulate as Flex
-- --

View File

@ -25,7 +25,7 @@ import XMonad.Prelude (fi)
import Foreign.C.Types import Foreign.C.Types
-- $usage -- $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 -- > import qualified XMonad.Actions.FlexibleResize as Flex
-- --

View File

@ -30,7 +30,7 @@ import XMonad.Prelude (fi)
import XMonad.Util.Types import XMonad.Util.Types
-- $usage -- $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 -- > import XMonad.Actions.FloatKeys
-- --

View File

@ -37,7 +37,7 @@ import XMonad.Util.Types (Direction2D(..))
import XMonad.Actions.AfterDrag import XMonad.Actions.AfterDrag
-- $usage -- $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 -- > import XMonad.Actions.FloatSnap
-- --

View File

@ -25,7 +25,7 @@ import XMonad.Prelude
import XMonad.StackSet import XMonad.StackSet
-- $usage -- $usage
-- Add the import to your @~\/.xmonad\/xmonad.hs@: -- Add the import to your @xmonad.hs@:
-- --
-- > import XMonad.Actions.FocusNth -- > import XMonad.Actions.FocusNth
-- --

View File

@ -101,7 +101,7 @@ import qualified Data.List.NonEmpty as NE
-- $usage -- $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 -- > import XMonad.Actions.GridSelect
-- --

View File

@ -53,7 +53,7 @@ import qualified XMonad.Util.ExtensibleState as XS
{- $usage {- $usage
Import the module into your @~\/.xmonad\/xmonad.hs@: Import the module into your @xmonad.hs@:
> import XMonad.Actions.GroupNavigation > import XMonad.Actions.GroupNavigation
@ -129,7 +129,7 @@ focusNextMatchOrDo qry act = findM (runQuery qry)
>=> maybe act (windows . SS.focusWindow) >=> maybe act (windows . SS.focusWindow)
-- Returns the list of windows ordered by workspace as specified in -- Returns the list of windows ordered by workspace as specified in
-- ~/.xmonad/xmonad.hs -- @xmonad.hs@.
orderedWindowList :: Direction -> X (Seq Window) orderedWindowList :: Direction -> X (Seq Window)
orderedWindowList History = fmap (\(HistoryDB w ws) -> maybe ws (ws |>) w) XS.get orderedWindowList History = fmap (\(HistoryDB w ws) -> maybe ws (ws |>) w) XS.get
orderedWindowList dir = withWindowSet $ \ss -> do orderedWindowList dir = withWindowSet $ \ss -> do
@ -145,7 +145,7 @@ orderedWindowList dir = withWindowSet $ \ss -> do
dirfun _ = id dirfun _ = id
rotfun wins x = rotate $ rotateTo (== x) wins 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 :: WindowSet -> Seq String -> Seq WindowSpace
orderedWorkspaceList ss wsids = rotateTo isCurWS wspcs' orderedWorkspaceList ss wsids = rotateTo isCurWS wspcs'
where where

View File

@ -36,7 +36,7 @@ import qualified Data.Map as M
( insert, delete, Map, lookup, empty, filter ) ( insert, delete, Map, lookup, empty, filter )
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.LinkWorkspaces -- > import XMonad.Actions.LinkWorkspaces
-- --

View File

@ -53,7 +53,7 @@ import XMonad.StackSet ( Workspace, current, workspace, layout, tag )
import Control.Monad.State ( gets ) import Control.Monad.State ( gets )
-- $usage -- $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 -- > import XMonad.Actions.MessageFeedback
-- --

View File

@ -32,7 +32,7 @@ import Data.Map (Map)
-- $usage -- $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 XMonad.Actions.MouseGestures
-- > import qualified XMonad.StackSet as W -- > import qualified XMonad.StackSet as W

View File

@ -37,7 +37,7 @@ import XMonad.Util.XUtils
-- "XMonad.Layout.SimpleFloat" or "XMonad.Layout.DecorationMadness". -- "XMonad.Layout.SimpleFloat" or "XMonad.Layout.DecorationMadness".
-- --
-- You can use this module with the following in your -- You can use this module with the following in your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Actions.MouseResize -- > import XMonad.Actions.MouseResize
-- > import XMonad.Layout.WindowArranger -- > import XMonad.Layout.WindowArranger

View File

@ -85,7 +85,7 @@ import qualified Data.List.NonEmpty as NE
-- layers and allows customization of the navigation strategy for the tiled -- layers and allows customization of the navigation strategy for the tiled
-- layer based on the layout currently in effect. -- 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 -- > import XMonad.Actions.Navigation2D
-- --

View File

@ -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 -- 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 -- xinerama mode without having to focus them. Put this into your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Actions.OnScreen -- > import XMonad.Actions.OnScreen
-- --

View File

@ -25,7 +25,7 @@ import XMonad.StackSet as S
-- $usage -- $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 -- > import XMonad.Actions.PerLayoutKeys
-- --

View File

@ -24,7 +24,7 @@ import XMonad
-- $usage -- $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 -- > import XMonad.Actions.PerWindowKeys
-- --

View File

@ -25,7 +25,7 @@ import XMonad.StackSet as S
-- $usage -- $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 -- > import XMonad.Actions.PerWorkspaceKeys
-- --

View File

@ -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 The default ScreenComparator orders screens by the upper-left-most corner, from top-to-bottom
and then left-to-right. 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 XMonad.Actions.PhysicalScreens
> import Data.Default > import Data.Default

View File

@ -47,7 +47,7 @@ import XMonad.StackSet hiding (workspaces)
import XMonad.Util.Run import XMonad.Util.Run
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.Plane -- > import XMonad.Actions.Plane
-- > import Data.Map (union) -- > import Data.Map (union)

View File

@ -28,7 +28,7 @@ import XMonad.StackSet
-- $usage -- $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 -- > import XMonad.Actions.Promote
-- --

View File

@ -35,7 +35,7 @@ import XMonad.StackSet (Screen (Screen), Stack (Stack), current, floating, modif
import XMonad.Util.Stack (reverseS) import XMonad.Util.Stack (reverseS)
{- $usage {- $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 > import XMonad.Actions.RotateSome

View File

@ -42,7 +42,7 @@ import XMonad.Util.XUtils (createNewWindow
import qualified XMonad.Util.ExtensibleState as ES import qualified XMonad.Util.ExtensibleState as ES
-- $usage -- $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 -- > import XMonad.Actions.ShowText
-- --

View File

@ -28,7 +28,7 @@ import XMonad.StackSet (Stack (Stack), StackSet, modify')
import XMonad.Util.Stack (reverseS) import XMonad.Util.Stack (reverseS)
-- $usage -- $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 -- > import XMonad.Actions.Sift
-- --

View File

@ -24,7 +24,7 @@ import XMonad.Core
import XMonad.Util.Run import XMonad.Util.Run
-- $usage -- $usage
-- To use, import this module into @~\/.xmonad\/xmonad.hs@: -- To use, import this module into @xmonad.hs@:
-- --
-- > import XMonad.Actions.SimpleDate -- > import XMonad.Actions.SimpleDate
-- --

View File

@ -23,7 +23,7 @@ import XMonad.Actions.WithAll (sinkAll)
-- $usage -- $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 -- > import XMonad.Actions.SinkAll
-- --

View File

@ -43,7 +43,7 @@ import qualified XMonad.Util.ExtensibleState as XS
import XMonad.Util.Process (getPPIDChain) import XMonad.Util.Process (getPPIDChain)
-- $usage -- $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 -- > import XMonad.Actions.SpawnOn
-- --

View File

@ -32,10 +32,7 @@ import XMonad.Util.XUtils
{- $usage {- $usage
First, import this module into your @xmonad.hs@:
First, import this module into your @~\/.xmonad\/xmonad.hs@:
> import XMonad.Actions.Submap > import XMonad.Actions.Submap

View File

@ -30,7 +30,7 @@ import XMonad.Util.WorkspaceCompare
-- $usage -- $usage
-- Add this import to your @~\/.xmonad\/xmonad.hs@: -- Add this import to your @xmonad.hs@:
-- --
-- > import XMonad.Actions.SwapWorkspaces -- > import XMonad.Actions.SwapWorkspaces
-- --

View File

@ -39,7 +39,7 @@ econst = const . return
-- $usage -- $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.Actions.TagWindows
-- > import XMonad.Prompt -- to use tagPrompt -- > import XMonad.Prompt -- to use tagPrompt

View File

@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W
import XMonad.Layout.DraggingVisualizer import XMonad.Layout.DraggingVisualizer
-- $usage -- $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.Actions.TiledWindowDragging
-- > import XMonad.Layout.DraggingVisualizer -- > import XMonad.Layout.DraggingVisualizer

View File

@ -108,7 +108,7 @@ import XMonad.Hooks.WorkspaceHistory
-- <https://tony-zorman.com/posts/topic-space/2022-09-11-topic-spaces.html here>. -- <https://tony-zorman.com/posts/topic-space/2022-09-11-topic-spaces.html here>.
-- $usage -- $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 Data.Map.Strict as M
-- > import qualified XMonad.StackSet as W -- > import qualified XMonad.StackSet as W

View File

@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W
-- $usage -- $usage
-- To make the focus update on mouse movement within an unfocused window, add the -- 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 -- > import XMonad.Actions.UpdateFocus
-- > xmonad $ def { -- > xmonad $ def {

View File

@ -31,7 +31,7 @@ import XMonad.StackSet (member, peek, screenDetail, current)
import Control.Arrow ((&&&), (***)) import Control.Arrow ((&&&), (***))
-- $usage -- $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
-- > import XMonad.Actions.UpdatePointer -- > import XMonad.Actions.UpdatePointer

View File

@ -28,7 +28,7 @@ import XMonad
import XMonad.StackSet as W import XMonad.StackSet as W
{- $usage {- $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 > import XMonad.Actions.Warp

View File

@ -36,7 +36,7 @@ import XMonad.Util.NamedWindows (getName, getNameWMClass)
-- $usage -- $usage
-- --
-- Import the module into your @~\/.xmonad\/xmonad.hs@: -- Import the module into your @xmonad.hs@:
-- --
-- > import XMonad.Actions.WindowBringer -- > import XMonad.Actions.WindowBringer
-- --

View File

@ -52,7 +52,7 @@ import qualified Data.List.NonEmpty as NE
{- $usage {- $usage
Import the module into your @~\/.xmonad\/xmonad.hs@: Import the module into your @xmonad.hs@:
> import XMonad.Actions.WindowGo > import XMonad.Actions.WindowGo

View File

@ -34,7 +34,7 @@ import XMonad.Prelude (fi)
-- $usage -- $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 -- > import XMonad.Actions.WindowMenu
-- --

View File

@ -24,7 +24,7 @@ import XMonad.StackSet
-- $usage -- $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 -- > import XMonad.Actions.WithAll
-- --

View File

@ -43,7 +43,7 @@ import qualified XMonad.Util.ExtensibleState as XS
import XMonad.Actions.OnScreen import XMonad.Actions.OnScreen
-- $usage -- $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 -- > import XMonad.Actions.Workscreen
-- > myWorkspaces = let myOldWorkspaces = ["adm","work","mail"] -- > myWorkspaces = let myOldWorkspaces = ["adm","work","mail"]

View File

@ -58,7 +58,7 @@ import XMonad.Util.WorkspaceCompare (getSortByIndex)
import qualified Data.Map as M import qualified Data.Map as M
-- $usage -- $usage
-- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Actions.WorkspaceNames -- > import XMonad.Actions.WorkspaceNames
-- --

View File

@ -47,7 +47,7 @@ import XMonad.Util.Themes
-- $usage -- $usage
-- The simplest way to use this configuration module is to use an -- 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 -- > 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 -- You can use this module also as a starting point for writing your
-- own configuration module from scratch. Save it as your -- own configuration module from scratch. Save it as your
-- @~\/.xmonad\/xmonad.hs@ and: -- @xmonad.hs@ and:
-- --
-- 1. Change the module name from -- 1. Change the module name from
-- --

View File

@ -27,7 +27,7 @@ import qualified XMonad.StackSet as W
import qualified Data.Map as M import qualified Data.Map as M
-- $usage -- $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
-- > import XMonad.Config.Azerty -- > import XMonad.Config.Azerty

View File

@ -26,7 +26,7 @@ import qualified XMonad.StackSet as W
import qualified Data.Map as M import qualified Data.Map as M
-- $usage -- $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
-- > import XMonad.Config.Bepo -- > import XMonad.Config.Bepo

View File

@ -65,7 +65,7 @@ import System.Exit
import XMonad.Prelude(when) import XMonad.Prelude(when)
-- $usage -- $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
-- > import XMonad.Config.Bluetile -- > import XMonad.Config.Bluetile

View File

@ -24,7 +24,7 @@ module XMonad.Config.Desktop (
-- specification. Extra xmonad settings unique to specific DE's are -- specification. Extra xmonad settings unique to specific DE's are
-- added by overriding or modifying @desktopConfig@ fields in the -- added by overriding or modifying @desktopConfig@ fields in the
-- same way that the default configuration is customized in -- same way that the default configuration is customized in
-- @~\/.xmonad/xmonad.hs@. -- @xmonad.hs@.
-- --
-- For more information about EWMH see: -- For more information about EWMH see:
-- --
@ -72,7 +72,7 @@ import qualified Data.Map as M
-- <http://haskell.org/haskellwiki/Xmonad> -- <http://haskell.org/haskellwiki/Xmonad>
-- --
-- To configure xmonad for use with a DE or with DE tools like panels -- 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 -- use @desktopConfig@ or one of the other desktop configs from the
-- @XMonad.Config@ namespace. The following setup and customization examples -- @XMonad.Config@ namespace. The following setup and customization examples
-- work the same way for the other desktop configs as for @desktopConfig@. -- work the same way for the other desktop configs as for @desktopConfig@.

View File

@ -32,7 +32,7 @@ import qualified Data.Map as M
import System.Environment (getEnvironment) import System.Environment (getEnvironment)
-- $usage -- $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
-- > import XMonad.Config.Gnome -- > import XMonad.Config.Gnome

View File

@ -28,7 +28,7 @@ import XMonad.Config.Desktop
import qualified Data.Map as M import qualified Data.Map as M
-- $usage -- $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
-- > import XMonad.Config.Kde -- > import XMonad.Config.Kde

View File

@ -27,7 +27,7 @@ import XMonad.Config.Desktop
import qualified Data.Map as M import qualified Data.Map as M
-- $usage -- $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
-- > import XMonad.Config.LXQt -- > import XMonad.Config.LXQt

View File

@ -40,7 +40,7 @@ import XMonad.Util.Run (safeSpawn)
import XMonad.Util.Ungrab (unGrab) import XMonad.Util.Ungrab (unGrab)
-- $usage -- $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
-- > import XMonad.Config.Mate -- > import XMonad.Config.Mate

View File

@ -126,7 +126,7 @@ import qualified XMonad as X (xmonad, XConfig(..))
import XMonad.Util.EZConfig (additionalKeysP, additionalMouseBindings, checkKeymap, removeKeysP, removeMouseBindings) import XMonad.Util.EZConfig (additionalKeysP, additionalMouseBindings, checkKeymap, removeKeysP, removeMouseBindings)
-- $start_here -- $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 #-} -- > {-# LANGUAGE RebindableSyntax #-}
-- > import XMonad.Config.Prime -- > import XMonad.Config.Prime

View File

@ -27,7 +27,7 @@ import XMonad.Config.Desktop
import qualified Data.Map as M import qualified Data.Map as M
-- $usage -- $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
-- > import XMonad.Config.Xfce -- > import XMonad.Config.Xfce

View File

@ -86,7 +86,7 @@ customize the window manager to fit her needs.
Basically, xmonad and the xmonad-contrib libraries let users write Basically, xmonad and the xmonad-contrib libraries let users write
their own window manager in just a few lines of code. While 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 file, it is actually a complete Haskell program which uses the xmonad
and xmonad-contrib libraries to create a custom window manager. 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 xmonad installs a binary, @xmonad@, which must be executed by the
Xsession starting script. This binary, whose code can be read in Xsession starting script. This binary, whose code can be read in
@Main.hs@ of the xmonad source tree, will use 'XMonad.Core.recompile' @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@ If this compilation process fails, for any reason, a default @main@
entry point will be used, which calls the 'XMonad.Main.xmonad' entry point will be used, which calls the 'XMonad.Main.xmonad'
function with a default configuration. function with a default configuration.
Thus, the real @main@ entry point, the one that even the users' custom 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 the 'XMonad.Main.xmonad' function. This function takes a configuration
as its only argument, whose type ('XMonad.Core.XConfig') as its only argument, whose type ('XMonad.Core.XConfig')
is defined in "XMonad.Core". is defined in "XMonad.Core".

View File

@ -500,7 +500,7 @@ with a specific layout combinator: 'XMonad.Layout.|||'.
Suppose we want a list with the 'XMonad.Layout.Full', Suppose we want a list with the 'XMonad.Layout.Full',
'XMonad.Layout.Tabbed.tabbed' and 'XMonad.Layout.Tabbed.tabbed' and
'XMonad.Layout.Accordion.Accordion' layouts. First we import, in our '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 > 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 > 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 > import XMonad
> >

View File

@ -30,7 +30,7 @@ import qualified XMonad.StackSet as S
import qualified XMonad.Util.ExtensibleState as XS import qualified XMonad.Util.ExtensibleState as XS
-- $usage -- $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 -- > import XMonad.Hooks.CurrentWorkspaceOnTop
-- > -- >

View File

@ -76,7 +76,7 @@ import XMonad.Hooks.StatusBar.PP
import XMonad.Hooks.StatusBar import XMonad.Hooks.StatusBar
-- $usage -- $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
-- > import XMonad.Hooks.DynamicLog -- > import XMonad.Hooks.DynamicLog

View File

@ -76,7 +76,7 @@ import qualified XMonad.Util.ExtensibleConf as XC
import qualified XMonad.Util.ExtensibleState as XS import qualified XMonad.Util.ExtensibleState as XS
-- $usage -- $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
-- > import XMonad.Hooks.EwmhDesktops -- > import XMonad.Hooks.EwmhDesktops

View File

@ -32,7 +32,7 @@ import XMonad.Prelude
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
-- $usage -- $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
-- > import XMonad.Hooks.FadeInactive -- > import XMonad.Hooks.FadeInactive

View File

@ -47,7 +47,7 @@ hookName = "__float"
-- to automatically send the next spawned window(s) to the floating -- to automatically send the next spawned window(s) to the floating
-- layer. -- 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 -- > import XMonad.Hooks.FloatNext
-- --

View File

@ -26,7 +26,7 @@ import XMonad.Prelude (Endo (Endo), find)
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
-- $usage -- $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 -- > import XMonad.Hooks.InsertPosition
-- --

View File

@ -49,7 +49,7 @@ import qualified Data.Map as M
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
-- $usage -- $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 -- > import XMonad.Hooks.ManageDocks
-- --

View File

@ -25,7 +25,7 @@ import XMonad.Actions.Minimize
import XMonad.Prelude import XMonad.Prelude
-- $usage -- $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.Hooks.Minimize
-- > import XMonad.Layout.Minimize -- > import XMonad.Layout.Minimize

View File

@ -39,7 +39,7 @@ import XMonad
import XMonad.Prelude import XMonad.Prelude
-- $usage -- $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 -- > import XMonad.Hooks.DynamicProperty
-- --

View File

@ -51,7 +51,7 @@ import Control.Monad.Trans (lift)
-- floating windows at appropriate positions on the screen, as well -- floating windows at appropriate positions on the screen, as well
-- as an 'X' action to manually trigger repositioning. -- 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 -- > import XMonad.Hooks.Place
-- --

View File

@ -45,7 +45,7 @@ import System.Random(randomRIO)
import qualified Data.Set as S import qualified Data.Set as S
-- $usage -- $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 -- > import XMonad.Hooks.PositionStoreHooks
-- --

View File

@ -32,7 +32,7 @@ import qualified XMonad.Util.ExtensibleConf as XC
-- ('XMonad.Hooks.StatusBar.dynamicSBs' uses this module internally), as well -- ('XMonad.Hooks.StatusBar.dynamicSBs' uses this module internally), as well
-- as to actually invoke xrandr or autorandr when an output is (dis)connected. -- 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 -- > import XMonad.Hooks.Rescreen
-- --

View File

@ -36,7 +36,7 @@ import XMonad.Actions.Commands
-- $usage -- $usage
-- You can use this module with the following in your -- You can use this module with the following in your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Hooks.ServerMode -- > import XMonad.Hooks.ServerMode
-- --

View File

@ -15,7 +15,7 @@
-- May be useful for making Java GUI programs work, just set WM name to \"LG3D\" -- 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. -- 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 -- > import XMonad.Hooks.SetWMName
-- --

View File

@ -33,7 +33,7 @@ import Control.Concurrent (threadDelay)
{- $usage {- $usage
You can use this module with the following in your You can use this module with the following in your
@~\/.xmonad\/xmonad.hs@: @xmonad.hs@:
> import XMonad.Hooks.ShowWName > import XMonad.Hooks.ShowWName
> >

View File

@ -82,7 +82,7 @@ import XMonad.Hooks.StatusBar.PP
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
-- $usage -- $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
-- > import XMonad.Hooks.StatusBar -- > import XMonad.Hooks.StatusBar

View File

@ -34,7 +34,7 @@ import XMonad.Prelude
import qualified XMonad.StackSet as W import qualified XMonad.StackSet as W
{- $usage {- $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
> import XMonad.Hooks.StatusBar > import XMonad.Hooks.StatusBar

View File

@ -77,7 +77,7 @@ modify' n f = XS.modify (HookState . setter . hooks)
-- This module provides actions (that can be set as keybindings) -- This module provides actions (that can be set as keybindings)
-- to be able to cause hooks to be occur on a conditional basis. -- 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 -- > import XMonad.Hooks.ToggleHook
-- --

View File

@ -54,7 +54,7 @@ import qualified Data.Map.Strict as M
import System.Posix.Types ( ProcessID ) import System.Posix.Types ( ProcessID )
-- $usage -- $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 -- > import XMonad.Hooks.WindowSwallowing
-- --

View File

@ -30,7 +30,7 @@ import Control.Monad.Except (runExceptT, throwError)
import Control.Monad.Trans (lift) import Control.Monad.Trans (lift)
-- $usage -- $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 -- > import XMonad.Hooks.WorkspaceByPos
-- > -- >

View File

@ -39,7 +39,7 @@ import qualified XMonad.Util.ExtensibleState as XS
-- $usage -- $usage
-- To record the order in which you view workspaces, you can use this -- 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) -- > import XMonad.Hooks.WorkspaceHistory (workspaceHistoryHook)
-- --

View File

@ -26,7 +26,7 @@ import XMonad
import XMonad.Prelude (Endo (..), chr) import XMonad.Prelude (Endo (..), chr)
-- $usage -- $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 XMonad.Hooks.XPropManage
-- > import qualified XMonad.StackSet as W -- > import qualified XMonad.StackSet as W

View File

@ -25,7 +25,7 @@ import qualified XMonad.StackSet as W
import Data.Ratio import Data.Ratio
-- $usage -- $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 -- > import XMonad.Layout.Accordion
-- --

View File

@ -35,7 +35,7 @@ import qualified Data.Map as M
import qualified Data.Set as S import qualified Data.Set as S
-- $usage -- $usage
-- You can use this module with the following in your ~\/.xmonad\/xmonad.hs file: -- You can use this module with the following in your @xmonad.hs@ file:
-- --
-- > import XMonad.Layout.AvoidFloats -- > import XMonad.Layout.AvoidFloats
-- --

View File

@ -52,7 +52,7 @@ import qualified Data.Set as S
import Data.Ratio ((%)) import Data.Ratio ((%))
-- $usage -- $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 -- > import XMonad.Layout.BinarySpacePartition
-- --

View File

@ -38,7 +38,7 @@ import qualified Data.Map as M
-- $usage -- $usage
-- You can use this module with the following in your -- You can use this module with the following in your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Layout.BorderResize -- > import XMonad.Layout.BorderResize
-- > myLayout = borderResize (... layout setup that reacts to SetGeometry ...) -- > myLayout = borderResize (... layout setup that reacts to SetGeometry ...)

View File

@ -45,7 +45,7 @@ import qualified XMonad.StackSet as W
-- $usage -- $usage
-- You can use this module with the following in your -- You can use this module with the following in your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Layout.BoringWindows -- > import XMonad.Layout.BoringWindows
-- --

View File

@ -33,7 +33,7 @@ import XMonad.Layout.DecorationAddons
-- $usage -- $usage
-- You can use this module with the following in your -- You can use this module with the following in your
-- @~\/.xmonad\/xmonad.hs@: -- @xmonad.hs@:
-- --
-- > import XMonad.Layout.DecorationAddons -- > import XMonad.Layout.DecorationAddons
-- > import XMonad.Layout.ButtonDecoration -- > import XMonad.Layout.ButtonDecoration

View File

@ -30,7 +30,7 @@ import XMonad.Layout.LayoutModifier
import XMonad.Prelude (fi) import XMonad.Prelude (fi)
-- $usage -- $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 -- > import XMonad.Layout.CenteredIfSingle
-- --

View File

@ -26,7 +26,7 @@ import GHC.Real (Ratio(..))
import XMonad.Layout.CircleEx import XMonad.Layout.CircleEx
-- $usage -- $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 -- > import XMonad.Layout.Circle
-- --

View File

@ -33,7 +33,7 @@ import XMonad.StackSet (Stack (..), Workspace (..), integrate')
import XMonad.Util.Stack (zipperFocusedAtFirstOf) import XMonad.Util.Stack (zipperFocusedAtFirstOf)
-- $usage -- $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 -- > import XMonad.Layout.Combo
-- --

View File

@ -34,7 +34,7 @@ import XMonad.Util.Stack (zipperFocusedAtFirstOf)
import XMonad.Util.WindowProperties import XMonad.Util.WindowProperties
-- $usage -- $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 -- > import XMonad.Layout.ComboP
-- --

Some files were not shown because too many files have changed in this diff Show More