From d99b82d99e310d78b23ee2b09957391e70fca63d Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 4 Sep 2014 01:23:22 +0200 Subject: News for multiline config support --- news.md | 2 ++ samples/xmobar.config | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/news.md b/news.md index 0129219..4948a93 100644 --- a/news.md +++ b/news.md @@ -10,6 +10,8 @@ _New features_ - `Weather` now offers `dewPointC` and `dewPointF` instead of `dewPoint`, and the new `windCardinal`, `windAzimuth`, `windMph` and `windKnots` variables, by Tony Morris. + - Strings in the configuration file can now span multiple lines + using Haskell-style multiline script, thanks to dunric ## Version 0.21 (Jul 1, 2014) diff --git a/samples/xmobar.config b/samples/xmobar.config index 9c359e3..5f4c224 100644 --- a/samples/xmobar.config +++ b/samples/xmobar.config @@ -19,5 +19,6 @@ Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" ] , sepChar = "%" , alignSep = "}{" - , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }{ %date%| %EGPF% | %uname%" + , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }\ + \{ %date%| %EGPF% | %uname%" } -- cgit v1.2.3