From f5d1c27226a74a234664af9b35ab226a67386e8e Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Fri, 28 Jun 2019 02:23:12 -0400 Subject: [PATCH] swaybar-protocol.7: fix block border descriptions This corrects the description of border_{top,bottom,left,right} in the block properties table in swaybar-protocol.7. The values should be an integer denoting the width/height rather than a boolean denoting whether to show them. --- swaybar/swaybar-protocol.7.scd | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/swaybar/swaybar-protocol.7.scd b/swaybar/swaybar-protocol.7.scd index 35368ec1..80878694 100644 --- a/swaybar/swaybar-protocol.7.scd +++ b/swaybar/swaybar-protocol.7.scd @@ -84,16 +84,15 @@ properties (only _full_text_ is required): : The border color for the block in #RRGGBBAA or #RRGGBB notation |- border_top : integer -: Whether to draw the top border. This should be _0_ or _1_ (default). -|- border_bottom +: The height in pixels of the top border. The default is 1 : integer -: Whether to draw the bottom border. This should be _0_ or _1_ (default). +: The height in pixels of the bottom border. The default is 1 |- border_left : integer -: Whether to draw the left border. This should be _0_ or _1_ (default). +: The width in pixels of the left border. The default is 1 |- border_right : integer -: Whether to draw the right border. This should be _0_ or _1_ (default). +: The width in pixels of the right border. The default is 1 |- min_width : integer or string : The minimum width to use for the block. This can either be given in pixels