diff options
author | jao <jao@gnu.org> | 2014-09-04 01:23:22 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2014-09-04 01:23:22 +0200 |
commit | d99b82d99e310d78b23ee2b09957391e70fca63d (patch) | |
tree | c21b6e78c85ae086ad25913dd01c77b9630e4b00 | |
parent | 849a02d4f6338bf956f62be6240b86a01f976e8c (diff) | |
download | xmobar-d99b82d99e310d78b23ee2b09957391e70fca63d.tar.gz xmobar-d99b82d99e310d78b23ee2b09957391e70fca63d.tar.bz2 |
News for multiline config support
-rw-r--r-- | news.md | 2 | ||||
-rw-r--r-- | samples/xmobar.config | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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%" } |