aerospace resize [-h|--help] [--window-id <window-id>] (smart|smart-opposite|width|height) [+|-]<number>
Resize the focused window
The dimension to resize is chosen by the first argument
-
widthchanges width -
heightchanges height -
smartchanges width if the parent has horizontal orientation, and it changes height if the parent has vertical orientation -
smart-oppositedoes resizes the opposite axis of smart
Second argument controls how much the size changes
-
If the
<number>is prefixed with+then the dimension is increased -
If the
<number>is prefixed with-then the dimension is decreased -
If the
<number>is prefixed with neither+nor-then the command changes the absolute value of the dimension
- -h, --help
-
Print help
- --window-id <window-id>