xmonad-0.5: A tiling window managerContentsIndex
XMonad.ManageHook
Portabilitynot portable, uses cunning newtype deriving
Stabilityunstable
Maintainersjanssen@cse.unl.edu
Description
An EDSL for ManageHooks
Synopsis
liftX :: X a -> Query a
idHook :: ManageHook
(<+>) :: ManageHook -> ManageHook -> ManageHook
composeAll :: [ManageHook] -> ManageHook
(-->) :: Query Bool -> ManageHook -> ManageHook
(=?) :: Eq a => Query a -> a -> Query Bool
(<&&>) :: Monad m => m Bool -> m Bool -> m Bool
(<||>) :: Monad m => m Bool -> m Bool -> m Bool
title :: Query String
resource :: Query String
className :: Query String
doF :: (WindowSet -> WindowSet) -> ManageHook
doFloat :: ManageHook
doIgnore :: ManageHook
Documentation
liftX :: X a -> Query a
idHook :: ManageHook
The identity hook that returns the WindowSet unchanged.
(<+>) :: ManageHook -> ManageHook -> ManageHook
Compose two ManageHooks
composeAll :: [ManageHook] -> ManageHook
Compose the list of ManageHooks
(-->) :: Query Bool -> ManageHook -> ManageHook
'p --> x'. If p returns True, execute the ManageHook.
(=?) :: Eq a => Query a -> a -> Query Bool
'q =? x'. if the result of q equals x, return True.
(<&&>) :: Monad m => m Bool -> m Bool -> m Bool
'p && q'. && lifted to a Monad.
(<||>) :: Monad m => m Bool -> m Bool -> m Bool
'p || q'. || lifted to a Monad.
title :: Query String
Queries that return the window title, resource, or class.
resource :: Query String
className :: Query String
doF :: (WindowSet -> WindowSet) -> ManageHook
Modify the WindowSet with a pure function.
doFloat :: ManageHook
Move the window to the floating layer.
doIgnore :: ManageHook
Map the window and remove it from the WindowSet.
Produced by Haddock version 0.8