config: add setting for underline thickness

This adds an "underline-thickness" setting to the "main" section,
similar to the existing "underline-offset" setting. This setting is used
to specify a custom height for regular (= non-cursor) underlines.

Fixes #1136
This commit is contained in:
Yorick Peterse 2022-08-19 02:54:49 +02:00
parent 65ecb77737
commit a0942f950d
No known key found for this signature in database
GPG key ID: EDD30D2BEB691AC9
7 changed files with 29 additions and 1 deletions

View file

@ -132,6 +132,18 @@ commented out will usually be installed to */etc/xdg/foot/foot.ini*.
Default: _unset_.
*underline-thickness*
Use a custom thickness (height) for underlines. The thickness is, by
default, in _points_.
To specify a thickness in _pixels_, append *px*:
*underline-thickness=1px*.
If left unset (the default), the thickness specified in the font is
used.
Default: _unset_
*box-drawings-uses-font-glyphs* Boolean. When disabled, foot generates
box/line drawing characters itself. The are several advantages to
doing this instead of using font glyphs: