| Copyright | (c) 2011 Ilya Portnov <portnov84@rambler.ru> |
|---|---|
| License | BSD3-style (see LICENSE) |
| Maintainer | Ilya Portnov <portnov84@rambler.ru> |
| Stability | unstable |
| Portability | unportable |
| Safe Haskell | None |
| Language | Haskell98 |
XMonad.Util.WindowPropertiesRE
Description
Similar to XMonad.Util.WindowProperties, but uses posix regular expressions matching instead of exact match.
- data PropertyRE = RE Property
- (~?) :: Functor f => f String -> String -> f Bool
- propertyToQueryRE :: Property -> Query Bool
- hasPropertyRE :: PropertyRE -> Window -> X Bool
Documentation
data PropertyRE #
A wrapper for X.U.WindowProperties.Property. Checks using regular expression.
Instances
propertyToQueryRE :: Property -> Query Bool #
Similar to XMonad.Util.WindowProperties.propertyToQuery, but uses regexp match instead of exact match
hasPropertyRE :: PropertyRE -> Window -> X Bool #
Does given window have this property?