summaryrefslogtreecommitdiffhomepage
path: root/Config.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-10-08 07:00:09 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-10-08 07:00:09 +0200
commitde2d739902f4539ac4de10d3a9799124c6831559 (patch)
treeea5dc0b59d2275c856edd581b500953a1976851a /Config.hs
parent69cb7f23b65f42410b5463ac6b4d87985237b4eb (diff)
downloadxmobar-de2d739902f4539ac4de10d3a9799124c6831559.tar.gz
xmobar-de2d739902f4539ac4de10d3a9799124c6831559.tar.bz2
Make lowerOnStart configurable. Note this breaks config backwards compatibility
darcs-hash:20081008050009-a5988-acb5cda2e3692295abf0bc967acc23e54b55068c.gz
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Config.hs b/Config.hs
index 8f6b687..3e76c8b 100644
--- a/Config.hs
+++ b/Config.hs
@@ -44,6 +44,8 @@ data Config =
, bgColor :: String -- ^ Backgroud color
, fgColor :: String -- ^ Default font color
, position :: XPosition -- ^ Top Bottom or Static
+ , lowerOnStart :: Bool -- ^ Lower to the bottom of the
+ -- window stack on initialization
, commands :: [Runnable] -- ^ For setting the command, the command arguments
-- and refresh rate for the programs to run (optional)
, sepChar :: String -- ^ The character to be used for indicating
@@ -69,6 +71,7 @@ defaultConfig =
, bgColor = "#000000"
, fgColor = "#BFBFBF"
, position = Top
+ , lowerOnStart = True
, commands = [ Run $ Date "%a %b %_d %Y * %H:%M:%S" "theDate" 10
, Run StdinReader]
, sepChar = "%"