aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Config
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2007-11-07 19:31:07 +0100
committerDon Stewart <dons@galois.com>2007-11-07 19:31:07 +0100
commit9c464f9fa63a8fa81f095fad170fc23c17ec5f62 (patch)
tree8a4947fec1d6ff14ad58cf0b8020ca71d20267ba /XMonad/Config
parente76fbd619d605590257e4857741dc09638a77070 (diff)
downloadXMonadContrib-9c464f9fa63a8fa81f095fad170fc23c17ec5f62.tar.gz
XMonadContrib-9c464f9fa63a8fa81f095fad170fc23c17ec5f62.tar.xz
XMonadContrib-9c464f9fa63a8fa81f095fad170fc23c17ec5f62.zip
add higher order 'dzen' function
The intent is that: main darcs-hash:20071107183107-cba2c-9b30182c82b98ccb2bf41f7c574946cbcb1be95f.gz
Diffstat (limited to 'XMonad/Config')
-rw-r--r--XMonad/Config/Dons.hs15
1 files changed, 6 insertions, 9 deletions
diff --git a/XMonad/Config/Dons.hs b/XMonad/Config/Dons.hs
index ef5ccef..b8d62a1 100644
--- a/XMonad/Config/Dons.hs
+++ b/XMonad/Config/Dons.hs
@@ -13,15 +13,12 @@
module XMonad.Config.Dons where
import XMonad
-import XMonad.Config
import XMonad.Hooks.DynamicLog
-config :: XConfig
-config = defaultConfig
- { borderWidth = 2
- , defaultGaps = [(18,0,0,0)]
- , terminal = "term"
- , normalBorderColor = "#cccccc"
- , focusedBorderColor = "#cd8b00"
- , logHook = dynamicLogDzen }
+donsMain :: IO ()
+donsMain = dzen $ \conf -> xmonad $ conf
+ { borderWidth = 2
+ , terminal = "term"
+ , normalBorderColor = "#cccccc"
+ , focusedBorderColor = "#cd8b00" }