xmonad-contrib-0.18.1: Community-maintained extensions for xmonad

Copyright | (c) Jan Vornberger 2009
License | BSD3-style (see LICENSE)
Maintainer | jan.vornberger@informatik.uni-oldenburg.de
Stability | unstable
Portability | not portable
Safe Haskell | None
Language | Haskell2010

XMonad.Layout.NoFrillsDecoration

Contents

- Usage:

Description

Most basic version of decoration for windows without any additional modifications. In contrast to XMonad.Layout.SimpleDecoration this will result in title bars that span the entire window instead of being only the length of the window title.

Synopsis

- noFrillsDeco :: (Eq a, Shrinker s) => s -> Theme -> l a -> ModifiedLayout (Decoration NoFrillsDecoration s) l a
- module XMonad.Layout.SimpleDecoration
- data NoFrillsDecoration a

# Usage:

You can use this module with the following in your `xmonad.hs`:

    import XMonad.Layout.NoFrillsDecoration

Then edit your `layoutHook` by adding the NoFrillsDecoration to your layout:

    myL = noFrillsDeco shrinkText def (layoutHook def)
    main = xmonad def { layoutHook = myL }

noFrillsDeco :: (Eq a, Shrinker s) => s -> Theme -> l a -> ModifiedLayout (Decoration NoFrillsDecoration s) l a Source #

Add very simple decorations to windows of a layout.

module XMonad.Layout.SimpleDecoration

data NoFrillsDecoration a Source #

#### Instances

Instances details

Eq a => DecorationStyle NoFrillsDecoration a Source # |

Instance details

Defined in XMonad.Layout.NoFrillsDecoration

Methods

describeDeco :: NoFrillsDecoration a -> String Source #

shrink :: NoFrillsDecoration a -> Rectangle -> Rectangle -> Rectangle Source #

decorationEventHook :: NoFrillsDecoration a -> DecorationState -> Event -> X () Source #

decorationCatchClicksHook :: NoFrillsDecoration a -> Window -> Int -> Int -> X Bool Source #

decorationWhileDraggingHook :: NoFrillsDecoration a -> CInt -> CInt -> (Window, Rectangle) -> Position -> Position -> X () Source #

decorationAfterDraggingHook :: NoFrillsDecoration a -> (Window, Rectangle) -> Window -> X () Source #

pureDecoration :: NoFrillsDecoration a -> Dimension -> Dimension -> Rectangle -> Stack a -> [(a, Rectangle)] -> (a, Rectangle) -> Maybe Rectangle Source #

decorate :: NoFrillsDecoration a -> Dimension -> Dimension -> Rectangle -> Stack a -> [(a, Rectangle)] -> (a, Rectangle) -> X (Maybe Rectangle) Source #

Read (NoFrillsDecoration a) Source # |
Instance details Defined in XMonad.Layout.NoFrillsDecoration Methods readsPrec :: Int -> ReadS (NoFrillsDecoration a) Source # readList :: ReadS [NoFrillsDecoration a] Source # readPrec :: ReadPrec (NoFrillsDecoration a) Source # readListPrec :: ReadPrec [NoFrillsDecoration a] Source #
Show (NoFrillsDecoration a) Source # |
Instance details Defined in XMonad.Layout.NoFrillsDecoration Methods showsPrec :: Int -> NoFrillsDecoration a -> ShowS Source # show :: NoFrillsDecoration a -> String Source # showList :: [NoFrillsDecoration a] -> ShowS Source #