summaryrefslogtreecommitdiffstats
path: root/Config.hs
diff options
context:
space:
mode:
authorJason Creighton <jcreigh@gmail.com>2007-04-30 06:38:59 +0200
committerJason Creighton <jcreigh@gmail.com>2007-04-30 06:38:59 +0200
commitd2606cda76d70124278df46293d9d40d5cdbe537 (patch)
tree500f4beeb8fc6d2420a9e4c5ab2d1cc99595fed3 /Config.hs
parent904630eb205fb37ee3526148efc2391829088541 (diff)
downloadmetatile-d2606cda76d70124278df46293d9d40d5cdbe537.tar
metatile-d2606cda76d70124278df46293d9d40d5cdbe537.zip
configurable border colors
This also fixes a bug where xmonad was assuming a 24-bit display, and just using, eg, 0xff0000 as an index into a colormap without querying the X server to determine the proper pixel value for "red". darcs-hash:20070430043859-b9aa7-9467ff583ec95144e5baa088e4b1536a725e7bc6
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
index 9f7a48a..a49f845 100644
--- a/Config.hs
+++ b/Config.hs
@@ -106,6 +106,11 @@ defaultDelta = 3%100
numlockMask :: KeyMask
numlockMask = mod2Mask
+-- Border colors for unfocused and focused windows, respectively.
+normalBorderColor, focusedBorderColor :: String
+normalBorderColor = "#dddddd"
+focusedBorderColor = "#ff0000"
+
-- What layout to start in, and what the default proportion for the
-- left pane should be in the tiled layout. See LayoutDesc and
-- friends in XMonad.hs for options.