aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-06-28 02:23:12 -0400
committerFurkan Sahin <furkan-dev@proton.me>2019-06-28 02:23:12 -0400
commit3f9eb56b33c1484e8b3ed5fd107365fbf2042b8d (patch)
treeda20cbbf706f8448c442083fe7608412c3f425c2
parent97cb718be5161d0f75fc008580f0aaf27e88636b (diff)
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.
-rw-r--r--swaybar/swaybar-protocol.7.scd9
1 files 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