Personal tools

Xmonad/Config archive/Don's xmonad.hs

From HaskellWiki

< Xmonad | Config archive(Difference between revisions)
Jump to: navigation, search
Line 20: Line 20:
   
 
</haskell>
 
</haskell>
  +
  +
[[Category:XMonad configuration]]

Revision as of 21:56, 6 November 2007

Configuration files get much simpler in xmonad 0.5, as you just override those values you need to.

This is the ~/.xmonad/xmonad.hs file.

import XMonad
import XMonad.Core
import XMonad.Config
import XMonad.Hooks.DynamicLog
 
main = xmonad $ defaultConfig
    { borderWidth        = 2
    , defaultGaps        = [(18,0,0,0)]
    , terminal           = "term"
    , normalBorderColor  = "#cccccc"
    , focusedBorderColor = "#cd8b00"
    , logHook            = dynamicLogDzen }