aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-14 10:23:40 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-10-14 10:23:40 -0400
commit7f2e6d812a36e6c30623871c4640897593f6a6cd (patch)
tree3882151b94ed21aec9b7fbbbc320e13d2951e0f3
parentMerge pull request #2751 from ianyfan/swaybar (diff)
downloadsway-7f2e6d812a36e6c30623871c4640897593f6a6cd.tar.gz
sway-7f2e6d812a36e6c30623871c4640897593f6a6cd.tar.zst
sway-7f2e6d812a36e6c30623871c4640897593f6a6cd.zip
Document `border csd`
-rw-r--r--sway/commands/border.c2
-rw-r--r--sway/sway.5.scd11
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) {
81 border_toggle(view); 81 border_toggle(view);
82 } else { 82 } else {
83 return cmd_results_new(CMD_INVALID, "border", 83 return cmd_results_new(CMD_INVALID, "border",
84 "Expected 'border <none|normal|pixel|toggle>' " 84 "Expected 'border <none|normal|pixel|csd|toggle>' "
85 "or 'border pixel <px>'"); 85 "or 'border pixel <px>'");
86 } 86 }
87 if (argc == 2) { 87 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.
87The following commands cannot be used directly in the configuration file. 87The following commands cannot be used directly in the configuration file.
88They are expected to be used with *bindsym* or at runtime through *swaymsg*(1). 88They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
89 89
90*border* normal|pixel [<n>] 90*border* none|normal|csd|pixel [<n>]
91 Set border style for focused window. _normal_ includes a border of 91 Set border style for focused window. _normal_ includes a border of
92 thickness _n_ and a title bar. _pixel_ is a border without title bar _n_ 92 thickness _n_ and a title bar. _pixel_ is a border without title bar _n_
93 pixels thick. Default is _normal_ with border thickness 2. 93 pixels thick. Default is _normal_ with border thickness 2. _csd_ is short
94 for client-side-decorations, which allows the client to draw its own
95 decorations.
94 96
95*border* none|toggle 97*border* toggle
96 Set border style for focused window to _none_ or _toggle_ between the 98 Cycles through the available border styles.
97 available border styles: _normal_, _pixel_, _none_.
98 99
99*exit* 100*exit*
100 Exit sway and end your Wayland session. 101 Exit sway and end your Wayland session.