aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-08-06 00:34:07 -0400
committerDrew DeVault <sir@cmpwn.com>2019-08-07 14:05:11 +0900
commitdc5d76cf3b390d9937f2f6dbaf458fab1247a992 (patch)
tree287655a9720d6ebfbd47d9ba0c2be7487361f0e4
parent19d05d3ae0eb2545986c275341250845c84f0f30 (diff)
sway.5: explain how to enable pango markup in font
This clarifies the syntax to use for the font command to enable pango markup support.
-rw-r--r--sway/sway.5.scd7
1 files changed, 5 insertions, 2 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 768f125e..8e866824 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -559,8 +559,11 @@ The default colors are:
to the opposite edge of the container, even if there are other containers
in the direction. Default is _yes_.
-*font* <font>
- Sets font for use in title bars in Pango format.
+*font* [pango:]<font>
+ Sets font to use for the title bars. To enable support for pango markup,
+ preface the font name with _pango:_. For example, _monospace 10_ is the
+ default font. To enable support for pango markup, _pango:monospace 10_
+ should be used instead.
*titlebar_border_thickness* <thickness>
Thickness of the titlebar border in pixels