xmonad-contrib-bluetilebranch-0.9.1.4: Third party extensions for xmonad

Portabilityunportable
Stabilityunstable
MaintainerSpencer Janssen <spencerjanssen@gmail.com>

XMonad.Util.WorkspaceCompare

Description

 

Synopsis

Documentation

getWsIndex :: X (WorkspaceId -> Maybe Int)Source

Lookup the index of a workspace id in the user's config, return Nothing if that workspace does not exist in the config.

getWsCompare :: X WorkspaceCompareSource

A comparison function for WorkspaceId, based on the index of the tags in the user's config.

getWsCompareByTag :: X WorkspaceCompareSource

A simple comparison function that orders workspaces lexicographically by tag.

getXineramaPhysicalWsCompare :: X WorkspaceCompareSource

A comparison function like getXineramaWsCompare, but uses physical locations for screens.

getXineramaWsCompare :: X WorkspaceCompareSource

A comparison function for Xinerama based on visibility, workspace and screen id. It produces the same ordering as XMonad.Hooks.DynamicLog.pprWindowSetXinerama.

mkWsSort :: X WorkspaceCompare -> X WorkspaceSortSource

Create a workspace sorting function from a workspace comparison function.

getSortByIndex :: X WorkspaceSortSource

Sort several workspaces according to their tags' indices in the user's config.

getSortByTag :: X WorkspaceSortSource

Sort workspaces lexicographically by tag.

getSortByXineramaPhysicalRule :: X WorkspaceSortSource

Like getSortByXineramaRule, but uses physical locations for screens.

getSortByXineramaRule :: X WorkspaceSortSource

Sort serveral workspaces for xinerama displays, in the same order produced by XMonad.Hooks.DynamicLog.pprWindowSetXinerama: first visible workspaces, sorted by screen, then hidden workspaces, sorted by tag.