xmonad-contrib-0.17.1.9: Community-maintained extensions for xmonad
Copyright(c) 2007 Andrea Rossato
LicenseBSD-style (see xmonad/LICENSE)
Maintainerandrea.rossato@unibz.it
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Layout.SimpleFloat

Contents

Description

A basic floating layout.

Synopsis

Usage:

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

import XMonad.Layout.SimpleFloat

Then edit your layoutHook by adding the SimpleFloat layout:

myLayout = simpleFloat ||| Full ||| etc..
main = xmonad def { layoutHook = myLayout }

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

simpleFloat :: Eq a => ModifiedLayout (Decoration SimpleDecoration DefaultShrinker) (ModifiedLayout MouseResize (ModifiedLayout WindowArranger SimpleFloat)) a Source #

A simple floating layout where every window is placed according to the window's initial attributes.

This version is decorated with the SimpleDecoration style.

simpleFloat' :: (Eq a, Shrinker s) => s -> Theme -> ModifiedLayout (Decoration SimpleDecoration s) (ModifiedLayout MouseResize (ModifiedLayout WindowArranger SimpleFloat)) a Source #

Same as simpleFloat, but with the possibility of setting a custom shrinker and a custom theme.

newtype SimpleDecoration a Source #

Constructors

Simple Bool 

class (Read s, Show s) => Shrinker s where Source #

Methods

shrinkIt :: s -> String -> [String] Source #

Instances

Instances details
Shrinker CustomShrink Source # 
Instance details

Defined in XMonad.Config.Droundy

Shrinker DefaultShrinker Source # 
Instance details

Defined in XMonad.Layout.Decoration