Copyright | (c) Roman Cheplyaka |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Roman Cheplyaka <roma@ro-che.info> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
EDSL for specifying window properties; various utilities related to window properties.
EDSL for window properties
Allows to specify window properties, such as title, classname or resource, and to check them.
In contrast to ManageHook properties, these are instances of Show and Read, so they can be used in layout definitions etc. For example usage see XMonad.Layout.IM
Most of the property constructors are quite self-explaining.
Title String | |
ClassName String | |
Resource String | |
Role String | WM_WINDOW_ROLE property |
Machine String | WM_CLIENT_MACHINE property |
And Property Property infixr 9 | |
Or Property Property infixr 8 | |
Not Property | |
Const Bool | |
Tagged String | Tagged via |
propertyToQuery :: Property -> Query Bool Source #
Convert property to Query
Bool
(see XMonad.ManageHook)