summaryrefslogtreecommitdiffhomepage
path: root/src/Config.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2014-03-13 20:33:51 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2014-03-13 20:33:51 +0100
commit04ffb1e36db9b49ffe393ec6bc099a3fe505e3b8 (patch)
treeb55fc1ca3cf9299e47230b7bd5d191b4f7fc9464 /src/Config.hs
parent40a2d25767a25dacc4a961f22b023131f86417f8 (diff)
downloadxmobar-04ffb1e36db9b49ffe393ec6bc099a3fe505e3b8.tar.gz
xmobar-04ffb1e36db9b49ffe393ec6bc099a3fe505e3b8.tar.bz2
Back to picking first screen by default (#158)0.20.1
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Config.hs b/src/Config.hs
index eaf044a..ed3e51a 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -58,6 +58,9 @@ data Config =
, allDesktops :: Bool -- ^ Tell the WM to map to all desktops
, overrideRedirect :: Bool -- ^ Needed for dock behaviour in some
-- non-tiling WMs
+ , pickBroadest :: Bool -- ^ Use the broadest display
+ -- instead of the first one by
+ -- default
, lowerOnStart :: Bool -- ^ lower to the bottom of the
-- window stack on initialization
, persistent :: Bool -- ^ Whether automatic hiding should
@@ -70,7 +73,7 @@ data Config =
-- commands in the output template
-- (default '%')
, alignSep :: String -- ^ Separators for left, center and
- -- right text alignment
+ -- right text alignment
, template :: String -- ^ The output template
} deriving (Read)
@@ -111,6 +114,7 @@ defaultConfig =
, persistent = False
, allDesktops = True
, overrideRedirect = True
+ , pickBroadest = False
, commands = [ Run $ Date "%a %b %_d %Y * %H:%M:%S" "theDate" 10
, Run StdinReader]
, sepChar = "%"