diff options
author | Unoqwy <julien.qwy@gmail.com> | 2020-07-29 20:44:56 +0200 |
---|---|---|
committer | Unoqwy <julien.qwy@gmail.com> | 2020-08-07 19:49:34 +0200 |
commit | 1b5bc3ad51a4cd154e5da09498aae191ba46a8e4 (patch) | |
tree | 51b2b0316834c38f8975c9dc720664908066451b /readme.md | |
parent | 56c62a01ff6e4b7a8f400e7cd0f62aa6817f4f8b (diff) | |
download | xmobar-1b5bc3ad51a4cd154e5da09498aae191ba46a8e4.tar.gz xmobar-1b5bc3ad51a4cd154e5da09498aae191ba46a8e4.tar.bz2 |
readme: update fc tag and add box
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -268,11 +268,18 @@ For the output template: may contain markups to change the characters' color. - `<fc=#FF0000>string</fc>` will print `string` with `#FF0000` color - (red). + (red). `<fc=#FF0000,#000000>string</fc>` will print `string` in red with + a black background (`#000000`). Background absolute offsets can be specified + for XFT fonts. `<fc=#FF0000,#000000:0>string</fc>` will have a background + matching the bar's height. - `<fn=1>string</fn>` will print `string` with the first font from `additionalFonts`. The index `0` corresponds to the standard font. +- `<box=BBBottom C 0 1 red>string</box>` will underline `string` in red and `<box=BBFull C 0 1 white>string</box>` will draw a white box around `string`. + <br>Usage: `<box=Position Align Offset Width Color>`. + <br>Positions: `BBTop, BBBottom, BBVBoth, BBLeft, BBRight, BBHBoth, BBFull` + - `<icon=/path/to/icon.xbm/>` will insert the given bitmap. XPM image format is also supported when compiled with `--flags="with_xpm"`. |