summaryrefslogtreecommitdiffhomepage
path: root/src/Config.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/Config.hs
parenteb9f7a73677cc2bc872c3ea69f073faeefe6c989 (diff)
downloadxmobar-0c2f42e50dbc86cacffc9c087e0a97c85c39b6c9.tar.gz
xmobar-0c2f42e50dbc86cacffc9c087e0a97c85c39b6c9.tar.bz2
Add ability to set border width
Diffstat (limited to 'src/Config.hs')
-rw-r--r--src/Config.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Config.hs b/src/Config.hs
index bda8838..e7c25ad 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -54,6 +54,7 @@ data Config =
, position :: XPosition -- ^ Top Bottom or Static
, border :: Border -- ^ NoBorder TopB BottomB or FullB
, borderColor :: String -- ^ Border color
+ , borderWidth :: Int -- ^ Border width
, hideOnStart :: Bool -- ^ Hide (Unmap) the window on
-- initialization
, allDesktops :: Bool -- ^ Tell the WM to map to all desktops
@@ -110,6 +111,7 @@ defaultConfig =
, position = Top
, border = NoBorder
, borderColor = "#BFBFBF"
+ , borderWidth = 1
, hideOnStart = False
, lowerOnStart = True
, persistent = False