summaryrefslogtreecommitdiffhomepage
path: root/src/Config.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-08-16 20:47:21 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-08-16 20:47:21 +0200
commit0d36df3af375046554956c61089c766623104a79 (patch)
treee6ecebb6df159947c2e1f0377785fad8fed8ac03 /src/Config.hs
parentfda03ea2bf02f085cd750a4b82a1964c6e8bd138 (diff)
parentb57de3e23f36756d0ba85a10592dea02561f8b0f (diff)
downloadxmobar-0d36df3af375046554956c61089c766623104a79.tar.gz
xmobar-0d36df3af375046554956c61089c766623104a79.tar.bz2
Merging github pull request 57
Conflicts: readme.md
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Config.hs b/src/Config.hs
index 47358b0..a6ad3e2 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -55,6 +55,8 @@ data Config =
, position :: XPosition -- ^ Top Bottom or Static
, border :: Border -- ^ NoBorder TopB BottomB or FullB
, borderColor :: String -- ^ Border color
+ , hideOnStart :: Bool -- ^ Hide (Unmap) the window on
+ -- initialization
, lowerOnStart :: Bool -- ^ Lower to the bottom of the
-- window stack on initialization
, persistent :: Bool -- ^ Whether automatic hiding should
@@ -97,6 +99,7 @@ defaultConfig =
, position = Top
, border = NoBorder
, borderColor = "#BFBFBF"
+ , hideOnStart = False
, lowerOnStart = True
, persistent = False
, commands = [ Run $ Date "%a %b %_d %Y * %H:%M:%S" "theDate" 10