summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorMarkus Scherer <markus.f.scherer@gmail.com>2015-01-08 21:47:45 +0600
committerMarkus Scherer <markus.f.scherer@gmail.com>2015-01-08 21:47:45 +0600
commitee2b41303756bdfaa8955a1e1fd55396dda936b0 (patch)
tree4c856e0569da29b97129da4f701e17c2df830b15 /readme.md
parent2fea6b75d9dafe437c47e5f813e09bba03832c48 (diff)
downloadxmobar-ee2b41303756bdfaa8955a1e1fd55396dda936b0.tar.gz
xmobar-ee2b41303756bdfaa8955a1e1fd55396dda936b0.tar.bz2
Support for multiple fonts
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 381dbbc..3db4955 100644
--- a/readme.md
+++ b/readme.md
@@ -198,6 +198,9 @@ For the output template:
- `<fc=#FF0000>string</fc>` will print `string` with `#FF0000` color
(red).
+- `<fn=1>string</fn>` will print `string` with the first font from `fontList`.
+ The index `0` corresponds to the standard font.
+
- `<icon=/path/to/icon.xbm/>` will insert the given bitmap. XPM image
format is also supported when compiled with `--flags="with_xpm"`.
@@ -227,6 +230,10 @@ Other configuration options:
`font`
: Name of the font to be used. Use the `xft:` prefix for XFT fonts.
+`fontList`
+: Haskell-style list of fonts to be used with the `fn`-template.
+ Use the `xft:` prefix for XFT fonts.
+
`bgColor`
: Background color.