Copyright | (c) Jan Vornberger 2009 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | jan.vornberger@informatik.uni-oldenburg.de |
Stability | unstable |
Portability | not portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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/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.
data NoFrillsDecoration a Source #