xmonad-contrib-0.7: Third party extensions for xmonadSource codeContentsIndex
XMonad.Layout.IM
Portabilityunportable
Stabilityunstable
MaintainerRoman Cheplyaka <roma@ro-che.info>
Contents
Usage
Hints
TODO
Description
Layout suitable for workspace with multi-windowed instant messanger (like Psi or Tkabber).
Synopsis
data Property
= Title String
| ClassName String
| Resource String
| And Property Property
| Or Property Property
| Not Property
| Const Bool
data IM a = IM Rational Property
Usage

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

 import XMonad.Layout.IM
 import Data.Ratio ((%))

Then edit your layoutHook by adding the IM layout:

 myLayouts = IM (1%7) (ClassName "Tkabber") ||| Full ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

Here 1%7 is the part of the screen which your roster will occupy, ClassName "Tkabber" tells xmonad which window is actually your roster.

Screenshot: http://haskell.org/haskellwiki/Image:Xmonad-layout-im.png

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

Hints
To launch IM layout automatically on your IM workspace use XMonad.Layout.PerWorkspace.
TODO

All these items are questionable. Please let me know if you find them useful.

  • shrink/expand
  • allow roster placement on the right side or even on top/bottom
  • use arbitrary layout instead of grid
data Property Source
Property constructors are quite self-explaining.
Constructors
Title String
ClassName String
Resource String
And Property Property
Or Property Property
Not Property
Const Bool
show/hide Instances
data IM a Source
Constructors
IM Rational Property
show/hide Instances
Produced by Haddock version 2.3.0