|
XMonad.Layout.Decoration | Portability | unportable | Stability | unstable | Maintainer | andrea.rossato@unibz.it |
|
|
|
|
|
Description |
A layout modifier and a class for easily creating decorated
layouts.
|
|
Synopsis |
|
|
|
|
Usage:
|
|
This module is intended for layout developers, who want to decorate
their layouts. End users will not find here very much for them.
For examples of DecorationStyle instances you can have a look at
XMonad.Layout.SimpleDecoration, XMonad.Layout.Tabbed,
XMonad.Layout.DwmStyle, or XMonad.Layout.TabBarDecoration.
|
|
|
A layout modifier that, with a Shrinker, a Theme, a
DecorationStyle, and a layout, will decorate this layout
according to the decoration style provided.
For some usage examples see XMonad.Layout.DecorationMadness.
|
|
|
A Theme is a record of colors, font etc., to customize a
DecorationStyle.
For a collection of Themes see XMonad.Util.Themes
| Constructors | Theme | | activeColor :: String | Color of the active window
| inactiveColor :: String | Color of the inactive window
| urgentColor :: String | Color of the urgent window
| activeBorderColor :: String | Color of the border of the active window
| inactiveBorderColor :: String | Color of the border of the inactive window
| urgentBorderColor :: String | Color of the border of the urgent window
| activeTextColor :: String | Color of the text of the active window
| inactiveTextColor :: String | Color of the text of the inactive window
| urgentTextColor :: String | Color of the text of the urgent window
| fontName :: String | Font name
| decoWidth :: Dimension | Maximum width of the decorations (if supported by the DecorationStyle)
| decoHeight :: Dimension | Height of the decorations
|
|
| Instances | |
|
|
|
The default xmonad Theme.
|
|
|
|
|
|
A Decoration layout modifier will handle SetTheme, a message
to dynamically change the decoration Theme.
| Constructors | | Instances | |
|
|
|
The DecorationStyle class, defines methods used in the
implementation of the Decoration LayoutModifier instance. A
type instance of this class is passed to the Decoration type in
order to decorate a layout, by using these methods.
| | Methods | | The description that the Decoration modifier will display.
| | | Shrink the window's rectangle when applying a decoration.
| | | The decoration event hook
| | | | | | | | | The pure version of the main method, decorate.
| | | Given the theme's decoration width and height, the screen
rectangle, the windows stack, the list of windows and
rectangles returned by the underlying layout and window to be
decorated, tupled with its rectangle, produce a Just
Rectangle or Nothing if the window is not to be decorated.
|
| | Instances | |
|
|
|
The Decoration state component, where the list of decorated
window's is zipped with a list of decoration. A list of decoration
is a list of tuples, a Maybe Window and a 'Maybe Rectangle'.
The Window will be displayed only if the rectangle is of type
Just.
| Constructors | DS | | decos :: [(OrigWin, DecoWin)] | | decoFont :: XMonadFont | |
|
|
|
|
data DefaultDecoration a | Source |
|
The default DecorationStyle, with just the default methods'
implementations.
| Constructors | | Instances | |
|
|
|
True if the window is in the Stack. The Window comes second
to facilitate list processing, even though w `isInStack` s won't
work...;)
|
|
|
Given a Rectangle and a list of Rectangles is True if the
Rectangle is not completely contained by any Rectangle of the
list.
|
|
|
The contrary of isVisible.
|
|
|
True is the first Rectangle is totally within the second
Rectangle.
|
|
|
Short-hand for fromIntegral
|
|
|
Given a window and the state, if a matching decoration is in the
state return it with its (Maybe) Rectangle.
|
|
module XMonad.Layout.LayoutModifier |
|
module XMonad.Layout.DecorationUtils |
|
Produced by Haddock version 2.4.2 |