summaryrefslogtreecommitdiffhomepage
path: root/src/Parsers.hs
diff options
context:
space:
mode:
authorTravis Staton <hello@travisstaton.com>2014-09-10 13:16:35 -0400
committerTravis Staton <hello@travisstaton.com>2014-09-16 12:10:55 -0400
commit0c2f42e50dbc86cacffc9c087e0a97c85c39b6c9 (patch)
tree9ce2b7fbe22c5d6e354f28de57e5d04fc19d5889 /src/Parsers.hs
parenteb9f7a73677cc2bc872c3ea69f073faeefe6c989 (diff)
downloadxmobar-0c2f42e50dbc86cacffc9c087e0a97c85c39b6c9.tar.gz
xmobar-0c2f42e50dbc86cacffc9c087e0a97c85c39b6c9.tar.bz2
Add ability to set border width
Diffstat (limited to 'src/Parsers.hs')
-rw-r--r--src/Parsers.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Parsers.hs b/src/Parsers.hs
index f7be1e3..5e6f4d6 100644
--- a/src/Parsers.hs
+++ b/src/Parsers.hs
@@ -199,8 +199,8 @@ parseConfig = runParser parseConf fields "Config" . stripComments
perms = permute $ Config
<$?> pFont <|?> pBgColor <|?> pFgColor <|?> pPosition
- <|?> pBorder <|?> pBdColor <|?> pHideOnStart <|?> pAllDesktops
- <|?> pOverrideRedirect <|?> pPickBroadest
+ <|?> pBorder <|?> pBdColor <|?> pBdWidth <|?> pHideOnStart
+ <|?> pAllDesktops <|?> pOverrideRedirect <|?> pPickBroadest
<|?> pLowerOnStart <|?> pPersistent
<|?> pCommands <|?> pSepChar <|?> pAlignSep <|?> pTemplate
@@ -224,6 +224,7 @@ parseConfig = runParser parseConf fields "Config" . stripComments
pLowerOnStart = readField lowerOnStart "lowerOnStart"
pPersistent = readField persistent "persistent"
pBorder = readField border "border"
+ pBdWidth = readField borderWidth "borderWidth"
pAllDesktops = readField allDesktops "allDesktops"
pOverrideRedirect = readField overrideRedirect "overrideRedirect"
pPickBroadest = readField pickBroadest "pickBroadest"