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

Copyright | (c) David Roundy <droundy@darcs.net>
License | BSD3-style (see LICENSE)
Maintainer | none
Stability | unstable
Portability | unportable
Safe Haskell | None
Language | Haskell2010

XMonad.Layout.Named

Contents

- Usage

Description

Deprecated: Use XMonad.Layout.Renamed instead

A module for assigning a name to a given layout. Deprecated, use XMonad.Layout.Renamed instead.

Synopsis

- named :: String -> l a -> ModifiedLayout Rename l a
- nameTail :: l a -> ModifiedLayout Rename l a

# Usage

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

    import XMonad.Layout.Named

Then edit your `layoutHook` by adding the Named layout modifier to some layout:

    myLayout = named "real big" Full ||| (nameTail $ named "real big" $ Full) ||| etc..
    main = xmonad def { layoutHook = myLayout }

For more detailed instructions on editing the layoutHook see the tutorial and XMonad.Doc.Extending.

Note that this module has been deprecated and may be removed in a future release, please use XMonad.Layout.Renamed instead.

named :: String -> l a -> ModifiedLayout Rename l a Source #

Rename a layout. (Convenience alias for `renamed [Replace s]`.)

nameTail :: l a -> ModifiedLayout Rename l a Source #

(Deprecated) Remove the first word of the name.