xmonad-contrib-0.18.0.9: Community-maintained extensions for xmonad
Copyright(c) Jan Vornberger 2009
Alejandro Serrano 2010
LicenseBSD3-style (see LICENSE)
Maintainertrupill@gmail.com
Stabilityunstable
Portabilitynot portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Layout.ImageButtonDecoration

Contents

Description

A decoration that includes small image buttons on both ends which invoke various actions when clicked on: Show a window menu (see XMonad.Actions.WindowMenu), minimize, maximize or close the window.

Note: For maximizing and minimizing to actually work, you will need to integrate XMonad.Layout.Maximize and XMonad.Layout.Minimize into your setup. See the documentation of those modules for more information.

Synopsis

Usage:

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

import XMonad.Layout.ImageButtonDecoration

Then edit your layoutHook by adding the ImageButtonDecoration to your layout:

myL = imageButtonDeco shrinkText defaultThemeWithImageButtons (layoutHook def)
main = xmonad def { layoutHook = myL }

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

Minimal complete definition

shrinkIt

Instances

Instances details
Shrinker CustomShrink Source # 
Instance details

Defined in XMonad.Config.Droundy

Shrinker DefaultShrinker Source # 
Instance details

Defined in XMonad.Layout.Decoration

imageTitleBarButtonHandler :: Window -> Int -> Int -> X Bool Source #

A function intended to be plugged into the decorationCatchClicksHook of a decoration. It will intercept clicks on the buttons of the decoration and invoke the associated action. To actually see the buttons, you will need to use a theme that includes them. See defaultThemeWithImageButtons below.

data ImageButtonDecoration a Source #

Instances

Instances details
Eq a => DecorationStyle ImageButtonDecoration a Source # 
Instance details

Defined in XMonad.Layout.ImageButtonDecoration

Read (ImageButtonDecoration a) Source # 
Instance details

Defined in XMonad.Layout.ImageButtonDecoration

Show (ImageButtonDecoration a) Source # 
Instance details

Defined in XMonad.Layout.ImageButtonDecoration