close [-h|--help] [--quit-if-last-window]+
aerospace balance-sizes [-h|--help]+
diff --git a/commands.html b/commands.html index 0739da23..d3123dc6 100644 --- a/commands.html +++ b/commands.html @@ -513,38 +513,41 @@
close [-h|--help] [--quit-if-last-window]+
aerospace balance-sizes [-h|--help]+
Balance sizes of all windows in the current workspace
+aerospace close [-h|--help] [--quit-if-last-window]
close-all-windows-but-current [-h|--help] [--quit-if-last-window]+
aerospace close-all-windows-but-current [-h|--help] [--quit-if-last-window]
enable [-h|--help] (on|off|toggle)+
aerospace enable [-h|--help] (on|off|toggle)
exec-and-forget <bash-script>+
aerospace exec-and-forget <bash-script>
flatten-workspace-tree [-h|--help]+
aerospace flatten-workspace-tree [-h|--help]
Flatten the tree of currently focused workspace.
+Flatten the tree of the focused workspace
The command is useful when you messed up with your layout, and it’s easier to "reset" it and start again.
@@ -721,13 +737,13 @@focus [-h|--help] [--boundaries <boundary>] - [--boundaries-action <action>] (left|down|up|right) -focus [-h|--help] --window-id <window-id>+
aerospace focus [-h|--help] [--boundaries <boundary>] + [--boundaries-action <action>] [--ignore-floating] (left|down|up|right) +aerospace focus [-h|--help] --window-id <window-id>
Contrary to i3, focus
command doesn’t have a separate argument to focus floating windows.
From focus
command perspective, floating windows are part of the tree.
-The floating window parent container is determined as the smallest tiling container that contains the center of the floating window.
This technique eliminates the need for an additional binding for floating windows.
+The floating window parent container is determined as the smallest tiling container that contains the center of the floating window. +The technique eliminates the need for an additional binding for floating windows. +This behavior can be disabled with--ignore-floating
flag.
focus child|parent
isn’t supported because the necessity of this operation is under the question.
@@ -770,18 +785,54 @@
Focus the window with specified <window-id>
Don’t perceive floating windows as part of the tree. +It may be useful for more reliable scripting.
+aerospace focus-back-and-forth [-h|--help]+
Switch between the current and previously focused elements back and forth. +The element is either a window or an empty workspace.
+AeroSpace stores only one previously focused window in history,
+which means that if you close the previous window,
+focus-back-and-forth
has no window to switch focus to.
+In that case, the command will exit with non-zero exit code.
That’s why it may be preferred to combine focus-back-and-forth
with workspace-back-and-forth
:
aerospace focus-back-and-forth || aerospace workspace-back-and-forth+
Also see: workspace-back-and-forth
+focus-monitor [-h|--help] [--wrap-around] (left|down|up|right) -focus-monitor [-h|--help] [--wrap-around] (next|prev) -focus-monitor [-h|--help] <monitor-pattern>...+
aerospace focus-monitor [-h|--help] [--wrap-around] (left|down|up|right) +aerospace focus-monitor [-h|--help] [--wrap-around] (next|prev) +aerospace focus-monitor [-h|--help] <monitor-pattern>...
Focus monitor in direction relative to the currently focused monitor
+Focus monitor in direction relative to the focused monitor
fullscreen [-h|--help] [on|off]+
aerospace fullscreen [-h|--help] [on|off]
Toggle the fullscreen mode for the currently focused window
+Toggle the fullscreen mode for the focused window
Switching to a different tiling window within the same workspace while the current focused window is in fullscreen mode results in the fullscreen window exiting fullscreen mode.
@@ -864,15 +915,15 @@join-with [-h|--help] (left|down|up|right)+
aerospace join-with [-h|--help] (left|down|up|right)
Put the currently focused window and the nearest node in the specified direction under a common parent container
+Put the focused window and the nearest node in the specified direction under a common parent container
layout [-h|--help] (h_tiles|v_tiles|h_accordion|v_accordion|tiles|accordion|horizontal|vertical|tiling|floating)...+
aerospace layout [-h|--help] (h_tiles|v_tiles|h_accordion|v_accordion|tiles|accordion|horizontal|vertical|tiling|floating)...
macos-native-fullscreen [-h|--help] [on|off]+
aerospace macos-native-fullscreen [-h|--help] [on|off]
Toggle macOS fullscreen for the currently focused window
+Toggle macOS fullscreen for the focused window
OPTIONS
@@ -1018,24 +1069,24 @@macos-native-minimize [-h|--help]+
aerospace macos-native-minimize [-h|--help]
Toggle macOS minimize for the currently focused window
+Toggle macOS minimize for the focused window
mode [-h|--help] <binding-mode>+
aerospace mode [-h|--help] <binding-mode>
move [-h|--help] (left|down|up|right)+
aerospace move [-h|--help] (left|down|up|right)
move-node-to-monitor [-h|--help] [--wrap-around] (left|down|up|right) -move-node-to-monitor [-h|--help] [--wrap-around] (next|prev) -move-node-to-monitor [-h|--help] <monitor-pattern>...+
aerospace move-mouse [-h|--help] <mouse-position>+
Move mouse to the requested position
+OPTIONS
+Print help
+ARGUMENTS
+Position to move mouse to. +Possible values:
+monitor-lazy-center
. Move mouse to the center of the focused monitor, unless it is already within the monitor boundaries.
monitor-force-center
. Move mouse to the center of the focused monitor.
window-lazy-center
. Move mouse to the center of the focused window, unless it is already within the window boundaries. Fails the command if no window is focused.
window-force-center
. Move mouse to the center of the focused window. Fails the command if no window is focused.
EXAMPLES
+Try to move mouse to the center of the window. If there is no window in focus, move mouse to the center of the monitor:
+aerospace move-mouse window-lazy-center || aerospace move-mouse monitor-lazy-center
aerospace move-node-to-monitor [-h|--help] [--wrap-around] (left|down|up|right) +aerospace move-node-to-monitor [-h|--help] [--wrap-around] (next|prev) +aerospace move-node-to-monitor [-h|--help] <monitor-pattern>...
Move window to monitor in direction relative to the currently focused monitor
+Move window to monitor in direction relative to the focused monitor
move-node-to-workspace [-h|--help] [--wrap-around] (next|prev) -move-node-to-workspace [-h|--help] <workspace-name>+
aerospace move-node-to-workspace [-h|--help] [--wrap-around] (next|prev) +aerospace move-node-to-workspace [-h|--help] <workspace-name>
Move currently focused window to the specified workspace
+Move the focused window to the specified workspace
move-workspace-to-monitor [-h|--help] [--wrap-around] (next|prev)+
aerospace move-workspace-to-monitor [-h|--help] [--wrap-around] (next|prev)
Move currently focused workspace to the next or previous monitor
+Move the focused workspace to the next or previous monitor
The command doesn’t have effect on workspaces that have monitor assignment
@@ -1287,11 +1401,11 @@reload-config [-h|--help] [--no-gui] [--dry-run]+
aerospace reload-config [-h|--help] [--no-gui] [--dry-run]
resize [-h|--help] (smart|width|height) [+|-]<number>+
aerospace resize [-h|--help] (smart|width|height) [+|-]<number>
split [-h|--help] (horizontal|vertical|opposite)+
aerospace split [-h|--help] (horizontal|vertical|opposite)
If the parent of currently focused window contains more than one child, then the command
+If the parent of focused window contains more than one child, then the command
If the parent of currently focused window contains only a single child (the window itself), then split
command changes the orientation of the parent container
If the parent of the focused window contains only a single child (the window itself), then split
command changes the orientation of the parent container