mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
Document border csd
This commit is contained in:
parent
4a05fbf8ab
commit
7f2e6d812a
|
@ -81,7 +81,7 @@ struct cmd_results *cmd_border(int argc, char **argv) {
|
||||||
border_toggle(view);
|
border_toggle(view);
|
||||||
} else {
|
} else {
|
||||||
return cmd_results_new(CMD_INVALID, "border",
|
return cmd_results_new(CMD_INVALID, "border",
|
||||||
"Expected 'border <none|normal|pixel|toggle>' "
|
"Expected 'border <none|normal|pixel|csd|toggle>' "
|
||||||
"or 'border pixel <px>'");
|
"or 'border pixel <px>'");
|
||||||
}
|
}
|
||||||
if (argc == 2) {
|
if (argc == 2) {
|
||||||
|
|
|
@ -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.
|
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).
|
They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
|
||||||
|
|
||||||
*border* normal|pixel [<n>]
|
*border* none|normal|csd|pixel [<n>]
|
||||||
Set border style for focused window. _normal_ includes a border of
|
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_
|
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
|
*border* toggle
|
||||||
Set border style for focused window to _none_ or _toggle_ between the
|
Cycles through the available border styles.
|
||||||
available border styles: _normal_, _pixel_, _none_.
|
|
||||||
|
|
||||||
*exit*
|
*exit*
|
||||||
Exit sway and end your Wayland session.
|
Exit sway and end your Wayland session.
|
||||||
|
|
Loading…
Reference in a new issue