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 |
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 Source
A wrapper for X.U.WindowProperties.Property. Checks using regular expression.
(~?) :: Functor f => f String -> String -> f Bool Source
Regular expressions matching for ManageHooks
propertyToQueryRE :: Property -> Query Bool Source
Similar to XMonad.Util.WindowProperties.propertyToQuery, but uses regexp match instead of exact match
hasPropertyRE :: PropertyRE -> Window -> X Bool Source
Does given window have this property?