xmonad-0.8.1: A tiling window managerSource codeContentsIndex
XMonad.ManageHook
Portabilitynot portable, uses cunning newtype deriving
Stabilityunstable
Maintainerspencerjanssen@gmail.com
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
appName :: Query String
resource :: Query String
className :: Query String
stringProperty :: String -> Query String
getStringProperty :: Display -> Window -> String -> X (Maybe String)
doF :: (WindowSet -> WindowSet) -> ManageHook
doFloat :: ManageHook
doIgnore :: ManageHook
doShift :: WorkspaceId -> ManageHook
Documentation
liftX :: X a -> Query aSource
Lift an X action to a Query.
idHook :: ManageHookSource
The identity hook that returns the WindowSet unchanged.
(<+>) :: ManageHook -> ManageHook -> ManageHookSource
Compose two ManageHooks.
composeAll :: [ManageHook] -> ManageHookSource
Compose the list of ManageHooks.
(-->) :: Query Bool -> ManageHook -> ManageHookSource
p --> x. If p returns True, execute the ManageHook.
(=?) :: Eq a => Query a -> a -> Query BoolSource
q =? x. if the result of q equals x, return True.
(<&&>) :: Monad m => m Bool -> m Bool -> m BoolSource
&& lifted to a Monad.
(<||>) :: Monad m => m Bool -> m Bool -> m BoolSource
|| lifted to a Monad.
title :: Query StringSource
Return the window title.
appName :: Query StringSource
Return the application name.
resource :: Query StringSource
Backwards compatible alias for appName.
className :: Query StringSource
Return the resource class.
stringProperty :: String -> Query StringSource
A query that can return an arbitrary X property of type String, identified by name.
getStringProperty :: Display -> Window -> String -> X (Maybe String)Source
doF :: (WindowSet -> WindowSet) -> ManageHookSource
Modify the WindowSet with a pure function.
doFloat :: ManageHookSource
Move the window to the floating layer.
doIgnore :: ManageHookSource
Map the window and remove it from the WindowSet.
doShift :: WorkspaceId -> ManageHookSource
Move the window to a given workspace
Produced by Haddock version 2.4.2