aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-08-16 00:08:16 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-20 13:27:52 +0900
commitb48e4b47dd8831b1fcc46c9e65a9c3d22fab1569 (patch)
tree8506fa7bcd92f95061bca38785a1e5bd4e7fbfcd
parentworkspace_split: focus middle if workspace focused (diff)
downloadsway-b48e4b47dd8831b1fcc46c9e65a9c3d22fab1569.tar.gz
sway-b48e4b47dd8831b1fcc46c9e65a9c3d22fab1569.tar.zst
sway-b48e4b47dd8831b1fcc46c9e65a9c3d22fab1569.zip
sway{,-bar}.5: add link to pango font description
This just specifies that both cmd_font and bar_cmd_font should be specified using the pango font description and adds a link to the pango documentation regarding the font description
-rw-r--r--sway/sway-bar.5.scd4
-rw-r--r--sway/sway.5.scd5
2 files changed, 7 insertions, 2 deletions
diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd
index d53574aa..42fb2989 100644
--- a/sway/sway-bar.5.scd
+++ b/sway/sway-bar.5.scd
@@ -37,7 +37,9 @@ Sway allows configuring swaybar in the sway configuration file.
37 Executes custom bar command. Default is _swaybar_. 37 Executes custom bar command. Default is _swaybar_.
38 38
39*font* <font> 39*font* <font>
40 Specifies the font to be used in the bar. 40 Specifies the font to be used in the bar. _font_ should be specified as a
41 pango font description. For more information on pango font descriptions,
42 see https://developer.gnome.org/pango/stable/pango-Fonts.html#pango-font-description-from-string
41 43
42*separator_symbol* <symbol> 44*separator_symbol* <symbol>
43 Specifies the separator symbol to separate blocks on the bar. 45 Specifies the separator symbol to separate blocks on the bar.
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 8e866824..8049836b 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -563,7 +563,10 @@ The default colors are:
563 Sets font to use for the title bars. To enable support for pango markup, 563 Sets font to use for the title bars. To enable support for pango markup,
564 preface the font name with _pango:_. For example, _monospace 10_ is the 564 preface the font name with _pango:_. For example, _monospace 10_ is the
565 default font. To enable support for pango markup, _pango:monospace 10_ 565 default font. To enable support for pango markup, _pango:monospace 10_
566 should be used instead. 566 should be used instead. Regardless of whether pango markup is enabled,
567 _font_ should be specified as a pango font description. For more
568 information on pango font descriptions, see
569 https://developer.gnome.org/pango/stable/pango-Fonts.html#pango-font-description-from-string
567 570
568*titlebar_border_thickness* <thickness> 571*titlebar_border_thickness* <thickness>
569 Thickness of the titlebar border in pixels 572 Thickness of the titlebar border in pixels