summaryrefslogtreecommitdiffhomepage
path: root/src/Config.hs
diff options
context:
space:
mode:
authorMarkus Scherer <markus.f.scherer@gmail.com>2015-01-08 21:47:45 +0600
committerMarkus Scherer <markus.f.scherer@gmail.com>2015-01-08 21:47:45 +0600
commitee2b41303756bdfaa8955a1e1fd55396dda936b0 (patch)
tree4c856e0569da29b97129da4f701e17c2df830b15 /src/Config.hs
parent2fea6b75d9dafe437c47e5f813e09bba03832c48 (diff)
downloadxmobar-ee2b41303756bdfaa8955a1e1fd55396dda936b0.tar.gz
xmobar-ee2b41303756bdfaa8955a1e1fd55396dda936b0.tar.bz2
Support for multiple fonts
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 6353112..7929011 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -49,6 +49,7 @@ import Plugins.DateZone
-- | The configuration data type
data Config =
Config { font :: String -- ^ Font
+ , fontList :: [String] -- ^ List of alternative fonts
, bgColor :: String -- ^ Backgroud color
, fgColor :: String -- ^ Default font color
, position :: XPosition -- ^ Top Bottom or Static
@@ -110,6 +111,7 @@ data Border = NoBorder
defaultConfig :: Config
defaultConfig =
Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
+ , fontList = []
, bgColor = "#000000"
, fgColor = "#BFBFBF"
, alpha = 255