summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-07-10 16:21:26 +0100
committerjao <jao@gnu.org>2018-07-10 16:23:11 +0100
commita2365debfaba478042184f5831675d1b08172cc7 (patch)
treeabb4b37777ab965303b0a4a974d5dea9956af9d8 /readme.md
parent741b803b943430a262ec36658b13830733e17b48 (diff)
downloadxmobar-a2365debfaba478042184f5831675d1b08172cc7.tar.gz
xmobar-a2365debfaba478042184f5831675d1b08172cc7.tar.bz2
New configuration parameter `textOffsets` (fixes #311)
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 40ceee8..71ffe1b 100644
--- a/readme.md
+++ b/readme.md
@@ -215,7 +215,8 @@ Other configuration options:
fonts.
- `additionalFonts` Haskell-style list of fonts to be used with the
- `fn`-template. Use the `xft:` prefix for XFT fonts.
+ `fn`-template. Use the `xft:` prefix for XFT fonts. See also
+ `textOffsets` below.
- `bgColor` Background color.
@@ -258,6 +259,11 @@ Other configuration options:
If negative or not given, xmobar will try to center text
vertically.
+- `textOffsets` A list of vertical offsets, in pixels, for the text
+ baseline, to be used with the each of the fonts in
+ `additionalFonts` (if any). If negative or not given, xmobar will
+ try to center text vertically for that font.
+
- `iconOffset` The vertical offset, in pixels, for icons bottom line.
If negative or not given, xmobar will try to center icons
vertically.