xmonad-contrib-0.7: Third party extensions for xmonadContentsIndex
XMonad.Util.WindowProperties
Portabilityunportable
Stabilityunstable
MaintainerRoman Cheplyaka <roma@ro-che.info>
Contents
Usage
Description
EDSL for specifying window properties, such as title, classname or resource.
Synopsis
data Property
= Title String
| ClassName String
| Resource String
| Role String
| And Property Property
| Or Property Property
| Not Property
| Const Bool
hasProperty :: Property -> Window -> X Bool
focusedHasProperty :: Property -> X Bool
Usage

This module 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

data Property
Most of the property constructors are quite self-explaining.
Constructors
Title String
ClassName String
Resource String
Role StringWM_WINDOW_ROLE property
And Property Property
Or Property Property
Not Property
Const Bool
show/hide Instances
hasProperty :: Property -> Window -> X Bool
Does given window have this property?
focusedHasProperty :: Property -> X Bool
Does the focused window have this property?
Produced by Haddock version 0.8