Portability | not portable, uses cunning newtype deriving |
---|---|
Stability | unstable |
Maintainer | spencerjanssen@gmail.com |
Safe Haskell | None |
An EDSL for ManageHooks
- liftX :: X a -> Query a
- idHook :: Monoid m => m
- (<+>) :: Monoid m => m -> m -> m
- composeAll :: Monoid m => [m] -> m
- (-->) :: (Monad m, Monoid a) => m Bool -> m a -> m a
- (=?) :: 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 :: (s -> s) -> Query (Endo s)
- doFloat :: ManageHook
- doIgnore :: ManageHook
- doShift :: WorkspaceId -> ManageHook
Documentation
(<+>) :: Monoid m => m -> m -> mSource
Infix mappend
. Compose two ManageHook
from right to left.
composeAll :: Monoid m => [m] -> mSource
Compose the list of ManageHook
s.
(-->) :: (Monad m, Monoid a) => m Bool -> m a -> m aSource
p --> x
. If p
returns True
, execute the ManageHook
.
(-->) :: Monoid m => Query Bool -> Query m -> Query m -- a simpler type
stringProperty :: String -> Query StringSource
A query that can return an arbitrary X property of type String
,
identified by name.
Move the window to the floating layer.
Map the window and remove it from the WindowSet
.
doShift :: WorkspaceId -> ManageHookSource
Move the window to a given workspace