summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorUnoqwy <julien.qwy@gmail.com>2020-07-29 20:44:56 +0200
committerUnoqwy <julien.qwy@gmail.com>2020-08-07 19:49:34 +0200
commit1b5bc3ad51a4cd154e5da09498aae191ba46a8e4 (patch)
tree51b2b0316834c38f8975c9dc720664908066451b
parent56c62a01ff6e4b7a8f400e7cd0f62aa6817f4f8b (diff)
downloadxmobar-1b5bc3ad51a4cd154e5da09498aae191ba46a8e4.tar.gz
xmobar-1b5bc3ad51a4cd154e5da09498aae191ba46a8e4.tar.bz2
readme: update fc tag and add box
-rw-r--r--readme.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 1b12095..37f1221 100644
--- a/readme.md
+++ b/readme.md
@@ -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"`.