xmonad-contrib-0.18.0: Community-maintained extensions for xmonad
Copyright(c) 2007 Andrea Rossato 2023 Ilya Portnov
LicenseBSD-style (see xmonad/LICENSE)
Maintainerportnov84@rambler.ru
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

XMonad.Layout.DecorationEx.DwmGeometry

Contents

Description

This defines window decorations which are shown as a bar of fixed width on top of window.

Synopsis

Usage:

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

import XMonad.Layout.DecorationEx.DwmStyle

Then edit your layoutHook by adding the DwmStyle decoration to your layout:

myL = dwmStyleDeco shrinkText (layoutHook def)
main = xmonad def { layoutHook = myL }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending

data DwmGeometry a Source #

Decoration geometry data type

Constructors

DwmGeometry 

Fields

dwmStyleDeco Source #

Arguments

:: Shrinker shrinker 
=> shrinker

Strings shrinker, for example shrinkText

-> ThemeEx StandardWidget

Decoration theme (font, colors, widgets, etc)

-> l Window

Layout to be decorated

-> ModifiedLayout (DecorationEx TextDecoration StandardWidget DwmGeometry shrinker) l Window 

Add a decoration to window layout. Widgets are indicated with text fragments using TextDecoration; decoration placement is similar to DWM.

dwmStyleDecoEx Source #

Arguments

:: Shrinker shrinker 
=> shrinker

Strings shrinker, for example shrinkText

-> DwmGeometry Window 
-> ThemeEx StandardWidget

Decoration theme (font, colors, widgets, etc)

-> l Window

Layout to be decorated

-> ModifiedLayout (DecorationEx TextDecoration StandardWidget DwmGeometry shrinker) l Window 

Add a decoration to window layout. Widgets are indicated with text fragments using TextDecoration; decoration placement can be adjusted.