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

From HaskellWiki
Jump to navigation Jump to 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 }