summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2014-09-04 01:23:22 +0200
committerjao <jao@gnu.org>2014-09-04 01:23:22 +0200
commitd99b82d99e310d78b23ee2b09957391e70fca63d (patch)
treec21b6e78c85ae086ad25913dd01c77b9630e4b00
parent849a02d4f6338bf956f62be6240b86a01f976e8c (diff)
downloadxmobar-d99b82d99e310d78b23ee2b09957391e70fca63d.tar.gz
xmobar-d99b82d99e310d78b23ee2b09957391e70fca63d.tar.bz2
News for multiline config support
-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%"
}