Difference between revisions of "Xmonad/Config archive/Don's xmonad.hs"

From HaskellWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
Configuration files get much simpler in xmonad 0.5, as you
 
Configuration files get much simpler in xmonad 0.5, as you
 
just override those values you need to.
 
just override those values you need to.
  +
  +
This is the ~/.xmonad/xmonad.hs file.
   
 
<haskell>
 
<haskell>

Revision as of 18:40, 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 }