xmonad-contrib-0.17.0.9: Community-maintained extensions for xmonad
Copyright(c) David Roundy <droundy@darcs.net>
LicenseBSD3-style (see LICENSE)
Maintainernone
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Layout.Square

Contents

Description

A layout that splits the screen into a square area and the rest of the screen. This is probably only ever useful in combination with XMonad.Layout.Combo. It sticks one window in a square region, and makes the rest of the windows live with what's left (in a full-screen sense).

Synopsis

Usage

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

  import XMonad.Layout.Square

An example layout using square together with XMonad.Layout.Combo to make the very last area square:

, combo (combo (mirror $ twoPane 0.03 0.85),1)] (twoPane 0.03 0.5) )
               [(twoPane 0.03 0.2,1),(combo [(twoPane 0.03 0.8,1),(square,1)]
        [(tabbed,3),(tabbed,30),(tabbed,1),(tabbed,1)]

data Square a Source #

Constructors

Square 

Instances

Instances details
LayoutClass Square a Source # 
Instance details

Defined in XMonad.Layout.Square

Read (Square a) Source # 
Instance details

Defined in XMonad.Layout.Square

Show (Square a) Source # 
Instance details

Defined in XMonad.Layout.Square

Methods

showsPrec :: Int -> Square a -> ShowS #

show :: Square a -> String #

showList :: [Square a] -> ShowS #