xmonad-contrib-0.6: Third party extensions for xmonadSource codeContentsIndex
XMonad.Layout.Tabbed
Portabilityunportable
Stabilityunstable
Maintainerdroundy@darcs.net, andrea.rossato@unibz.it
Contents
Usage:
Description
A tabbed layout for the Xmonad Window Manager
Synopsis
tabbed :: Shrinker s => s -> TConf -> Tabbed s a
shrinkText :: DefaultShrinker
data CustomShrink = CustomShrink
data TConf = TConf {
activeColor :: String
inactiveColor :: String
urgentColor :: String
activeBorderColor :: String
inactiveBorderColor :: String
urgentBorderColor :: String
activeTextColor :: String
inactiveTextColor :: String
urgentTextColor :: String
fontName :: String
tabSize :: Int
}
defaultTConf :: TConf
class (Read s, Show s) => Shrinker s where
shrinkIt :: s -> String -> [String]
Usage:

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

 import XMonad.Layout.Tabbed

Then edit your layoutHook by adding the Tabbed layout:

 myLayouts = tabbed shrinkText defaultTConf ||| Full ||| etc..
 main = xmonad defaultConfig { layoutHook = myLayouts }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

You can also edit the default configuration options.

 myTabConfig = defaultTConf { inactiveBorderColor = "#FF0000"
                            , activeTextColor = "#00FF00"}

and

 mylayout = tabbed shrinkText myTabConfig ||| Full ||| etc..
tabbed :: Shrinker s => s -> TConf -> Tabbed s aSource
shrinkText :: DefaultShrinkerSource
data CustomShrink Source
Constructors
CustomShrink
show/hide Instances
data TConf Source
Constructors
TConf
activeColor :: String
inactiveColor :: String
urgentColor :: String
activeBorderColor :: String
inactiveBorderColor :: String
urgentBorderColor :: String
activeTextColor :: String
inactiveTextColor :: String
urgentTextColor :: String
fontName :: String
tabSize :: Int
show/hide Instances
defaultTConf :: TConfSource
class (Read s, Show s) => Shrinker s whereSource
Methods
shrinkIt :: s -> String -> [String]Source
show/hide Instances
Produced by Haddock version 2.3.0