From 7f2e6d812a36e6c30623871c4640897593f6a6cd Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 14 Oct 2018 10:23:40 -0400 Subject: Document `border csd` --- sway/commands/border.c | 2 +- sway/sway.5.scd | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/sway/commands/border.c b/sway/commands/border.c index bfd3b9ed..cc0d635a 100644 --- a/sway/commands/border.c +++ b/sway/commands/border.c @@ -81,7 +81,7 @@ struct cmd_results *cmd_border(int argc, char **argv) { border_toggle(view); } else { return cmd_results_new(CMD_INVALID, "border", - "Expected 'border ' " + "Expected 'border ' " "or 'border pixel '"); } if (argc == 2) { diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 67cc1cb1..3a760d01 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -87,14 +87,15 @@ The following commands may only be used in the configuration file. The following commands cannot be used directly in the configuration file. They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). -*border* normal|pixel [] +*border* none|normal|csd|pixel [] Set border style for focused window. _normal_ includes a border of thickness _n_ and a title bar. _pixel_ is a border without title bar _n_ - pixels thick. Default is _normal_ with border thickness 2. + pixels thick. Default is _normal_ with border thickness 2. _csd_ is short + for client-side-decorations, which allows the client to draw its own + decorations. -*border* none|toggle - Set border style for focused window to _none_ or _toggle_ between the - available border styles: _normal_, _pixel_, _none_. +*border* toggle + Cycles through the available border styles. *exit* Exit sway and end your Wayland session. -- cgit v1.2.3-54-g00ecf