aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-06-28 02:23:12 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-06-28 10:34:09 +0300
commitf5d1c27226a74a234664af9b35ab226a67386e8e (patch)
treeda20cbbf706f8448c442083fe7608412c3f425c2 /swaybar
parenttree: set correct border value before creating floater (diff)
downloadsway-f5d1c27226a74a234664af9b35ab226a67386e8e.tar.gz
sway-f5d1c27226a74a234664af9b35ab226a67386e8e.tar.zst
sway-f5d1c27226a74a234664af9b35ab226a67386e8e.zip
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.
Diffstat (limited to 'swaybar')
-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):
84: The border color for the block in #RRGGBBAA or #RRGGBB notation 84: The border color for the block in #RRGGBBAA or #RRGGBB notation
85|- border_top 85|- border_top
86: integer 86: integer
87: Whether to draw the top border. This should be _0_ or _1_ (default). 87: The height in pixels of the top border. The default is 1
88|- border_bottom
89: integer 88: integer
90: Whether to draw the bottom border. This should be _0_ or _1_ (default). 89: The height in pixels of the bottom border. The default is 1
91|- border_left 90|- border_left
92: integer 91: integer
93: Whether to draw the left border. This should be _0_ or _1_ (default). 92: The width in pixels of the left border. The default is 1
94|- border_right 93|- border_right
95: integer 94: integer
96: Whether to draw the right border. This should be _0_ or _1_ (default). 95: The width in pixels of the right border. The default is 1
97|- min_width 96|- min_width
98: integer or string 97: integer or string
99: The minimum width to use for the block. This can either be given in pixels 98: The minimum width to use for the block. This can either be given in pixels