mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
man page
This commit is contained in:
parent
f25c6b312b
commit
3e9cdfd6a3
14
sway.5.txt
14
sway.5.txt
|
@ -64,11 +64,19 @@ Commands
|
|||
Toggles fullscreen status for the focused view.
|
||||
|
||||
**gaps** <amount>::
|
||||
Adds _amount_ pixels between each view, and around each output.
|
||||
Sets _amount_ pixels as the gap between each view, and around each
|
||||
workspace.
|
||||
|
||||
**gaps** <inner|outer> <amount>::
|
||||
Adds _amount_ pixels as an _inner_ or _outer_ gap, where the former affects
|
||||
spacing between views and the latter affects the space around each output.
|
||||
Sets _amount_ pixels as the _inner_ or _outer_ gap, where the former affects
|
||||
spacing between views and the latter affects the space around each
|
||||
workspace.
|
||||
|
||||
**gaps** <inner|outer> <all|workspace|current> <set|plus|minus> <amount>::
|
||||
Changes the gaps for the _inner_ or _outer_ gap. _all_ changes the gaps for
|
||||
all views or workspace, _workspace_ changes gaps for all views in current
|
||||
workspace, or current workspace, and _current_ changes gaps for the current
|
||||
view or workspace.
|
||||
|
||||
**kill**::
|
||||
Closes the currently focused view.
|
||||
|
|
|
@ -570,7 +570,7 @@ static bool cmd_gaps(struct sway_config *config, int argc, char **argv) {
|
|||
target = CURRENT;
|
||||
} else if (strcasecmp(target_str, "all") == 0) {
|
||||
target = ALL;
|
||||
} else if (strcasecmp(target_str, "workspace") == 0){
|
||||
} else if (strcasecmp(target_str, "workspace") == 0) {
|
||||
if (inout == OUTER) {
|
||||
target = CURRENT;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue