summaryrefslogtreecommitdiffhomepage
path: root/src/Config.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2014-12-29 23:56:42 +0100
committerjao <jao@gnu.org>2014-12-30 00:26:36 +0100
commit22d41c0e611a7c2cc51209a4cc750ee87921e54a (patch)
treeb43d12c74f91a6cdef3878010da9d8935abf1368 /src/Config.hs
parent87e92c4023a4a6cac5b6ff2e95b6d346eef10bd3 (diff)
parenta98ac8fba46b8858959cee6062a49c9121f07fe9 (diff)
downloadxmobar-22d41c0e611a7c2cc51209a4cc750ee87921e54a.tar.gz
xmobar-22d41c0e611a7c2cc51209a4cc750ee87921e54a.tar.bz2
Merge branch 'transparency' of https://github.com/ezyang/xmobar
Conflicts: src/Config.hs src/Main.hs src/Parsers.hs src/XUtil.hsc src/Xmobar.hs
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 7e43e92..ee58a92 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -57,6 +57,7 @@ data Config =
, border :: Border -- ^ NoBorder TopB BottomB or FullB
, borderColor :: String -- ^ Border color
, borderWidth :: Int -- ^ Border width
+ , alpha :: Int -- ^ Transparency from 0 (transparent) to 255 (opaque)
, hideOnStart :: Bool -- ^ Hide (Unmap) the window on
-- initialization
, allDesktops :: Bool -- ^ Tell the WM to map to all desktops
@@ -111,6 +112,7 @@ defaultConfig =
Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, bgColor = "#000000"
, fgColor = "#BFBFBF"
+ , alpha = 0
, position = Top
, border = NoBorder
, borderColor = "#BFBFBF"