xmonad-contrib-0.13: Third party extensions for xmonad

Copyright(c) Roman Cheplyaka
LicenseBSD-style (see LICENSE)
MaintainerRoman Cheplyaka <roma@ro-che.info>
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Util.WindowProperties

Contents

Description

EDSL for specifying window properties; various utilities related to window properties.

Synopsis

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

hasProperty :: Property -> Window -> X Bool Source #

Does given window have this property?

focusedHasProperty :: Property -> X Bool Source #

Does the focused window have this property?

allWithProperty :: Property -> X [Window] Source #

Find all existing windows with specified property

Helper functions

 

getProp32 :: Atom -> Window -> X (Maybe [CLong]) Source #

Get a window property from atom

getProp32s :: String -> Window -> X (Maybe [CLong]) Source #

Get a window property from string