Add gaps <type> <scope> toggle <px> command

Add a subcommand for `gaps` that allows to toggle gaps at
runtime. This functionality is part of i3-gaps since [1]
but is missing in sway.

[1] https://github.com/Airblader/i3/pull/264
This commit is contained in:
bR3iN 2021-07-21 14:08:29 +02:00 committed by Simon Ser
parent 2024725cc0
commit c9458b9fb1
2 changed files with 11 additions and 5 deletions

View file

@ -155,7 +155,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
is specified, the view will be fullscreen across all outputs.
*gaps* inner|outer|horizontal|vertical|top|right|bottom|left all|current
set|plus|minus <amount>
set|plus|minus|toggle <amount>
Changes the _inner_ or _outer_ gaps for either _all_ workspaces or the
_current_ workspace. _outer_ gaps can be altered per side with _top_,
_right_, _bottom_, and _left_ or per direction with _horizontal_ and