Copyright | (c) David Roundy <droundy@darcs.net> |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | none |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
This module allows you to associate the X titles of windows with them.
Synopsis
- data NamedWindow
- getName :: Window -> X NamedWindow
- getNameWMClass :: Window -> X NamedWindow
- withNamedWindow :: (NamedWindow -> X ()) -> X ()
- unName :: NamedWindow -> Window
Usage
See XMonad.Layout.Tabbed for an example of its use.
data NamedWindow Source #
Instances
Eq NamedWindow Source # | |
Defined in XMonad.Util.NamedWindows (==) :: NamedWindow -> NamedWindow -> Bool # (/=) :: NamedWindow -> NamedWindow -> Bool # | |
Ord NamedWindow Source # | |
Defined in XMonad.Util.NamedWindows compare :: NamedWindow -> NamedWindow -> Ordering # (<) :: NamedWindow -> NamedWindow -> Bool # (<=) :: NamedWindow -> NamedWindow -> Bool # (>) :: NamedWindow -> NamedWindow -> Bool # (>=) :: NamedWindow -> NamedWindow -> Bool # max :: NamedWindow -> NamedWindow -> NamedWindow # min :: NamedWindow -> NamedWindow -> NamedWindow # | |
Show NamedWindow Source # | |
Defined in XMonad.Util.NamedWindows showsPrec :: Int -> NamedWindow -> ShowS # show :: NamedWindow -> String # showList :: [NamedWindow] -> ShowS # |
getNameWMClass :: Window -> X NamedWindow Source #
Get NamedWindow
using wM_CLASS
withNamedWindow :: (NamedWindow -> X ()) -> X () Source #
unName :: NamedWindow -> Window Source #