diff options
author | jao <jao@gnu.org> | 2022-02-03 05:14:45 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-02-03 05:14:45 +0000 |
commit | dc262d1628aa3e1bfe17ce99bfe89782b6185cc5 (patch) | |
tree | 43c2bf077702bd118a9f37646ebce50d2025d15f /src/Xmobar/Config/Parse.hs | |
parent | d7d1873cd009edc8f3de8d141de388f638c6a926 (diff) | |
download | xmobar-dc262d1628aa3e1bfe17ce99bfe89782b6185cc5.tar.gz xmobar-dc262d1628aa3e1bfe17ce99bfe89782b6185cc5.tar.bz2 |
TextOutputColor -> TextOutputFormat
Thinking of eventually adding a Sway JSON output, or simply add fonts
to Pango specification, so it's more than colors.
Also, NoColors -> Plain.
Diffstat (limited to 'src/Xmobar/Config/Parse.hs')
-rw-r--r-- | src/Xmobar/Config/Parse.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Xmobar/Config/Parse.hs b/src/Xmobar/Config/Parse.hs index fa99c59..89af808 100644 --- a/src/Xmobar/Config/Parse.hs +++ b/src/Xmobar/Config/Parse.hs @@ -62,7 +62,7 @@ parseConfig defaultConfig = perms = permute $ Config <$?> pFont <|?> pFontList <|?> pWmClass <|?> pWmName <|?> pBgColor <|?> pFgColor <|?> pPosition - <|?> pTextOutput <|?> pTextOutputColors + <|?> pTextOutput <|?> pTextOutputFormat <|?> pTextOffset <|?> pTextOffsets <|?> pIconOffset <|?> pBorder <|?> pBdColor <|?> pBdWidth <|?> pAlpha <|?> pHideOnStart @@ -78,11 +78,11 @@ parseConfig defaultConfig = , "allDesktops", "overrideRedirect", "pickBroadest" , "hideOnStart", "lowerOnStart", "persistent", "iconRoot" , "alpha", "commands", "verbose", "signal", "textOutput" - , "textOutputColors" + , "textOutputFormat" ] pTextOutput = readField textOutput "textOutput" - pTextOutputColors = readField textOutputColors "textOutputColors" + pTextOutputFormat = readField textOutputFormat "textOutputFormat" pFont = strField font "font" pFontList = strListField additionalFonts "additionalFonts" pWmClass = strField wmClass "wmClass" |