summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--news.md2
-rw-r--r--samples/xmobar.config3
2 files changed, 4 insertions, 1 deletions
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% }{ <fc=#ee9a00>%date%</fc>| %EGPF% | %uname%"
+ , template = "%cpu% | %memory% * %swap% | %eth0% - %eth1% }\
+ \{ <fc=#ee9a00>%date%</fc>| %EGPF% | %uname%"
}