xmonad-0.9.1: A tiling window manager

Portabilitynot portable, uses cunning newtype deriving
Stabilityunstable
Maintainerspencerjanssen@gmail.com

XMonad.ManageHook

Description

An EDSL for ManageHooks

Synopsis

Documentation

liftX :: X a -> Query aSource

Lift an X action to a Query.

idHook :: ManageHookSource

The identity hook that returns the WindowSet unchanged.

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.

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