| 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 | Safe-Inferred |
| Language | Haskell2010 |
XMonad.Util.WindowPropertiesRE
Description
Similar to XMonad.Util.WindowProperties, but uses posix regular expressions matching instead of exact match.
Synopsis
- 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.
Instances
| Read PropertyRE Source # | |
Defined in XMonad.Util.WindowPropertiesRE Methods readsPrec :: Int -> ReadS PropertyRE # readList :: ReadS [PropertyRE] # readPrec :: ReadPrec PropertyRE # readListPrec :: ReadPrec [PropertyRE] # | |
| Show PropertyRE Source # | |
Defined in XMonad.Util.WindowPropertiesRE Methods showsPrec :: Int -> PropertyRE -> ShowS # show :: PropertyRE -> String # showList :: [PropertyRE] -> ShowS # | |
| Predicate PropertyRE Window Source # | |
Defined in XMonad.Util.WindowPropertiesRE | |
(~?) :: 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?