AEROSPACE-FOCUS(1)
π AEROSPACE-FOCUS(1) β the AeroSpace manual, focus edition β¨
okay so bestie, this is aerospace-focus from the AeroSpace manual, and it's literally all about moving your focus around. buckle up π
πΈ NAME πΈ
aerospace-focus β set focus to a window. that's it. that's the whole vibe check. π
β¨ SYNOPSIS β¨
aerospace focus [-h|--help] [--ignore-floating] [--wrap-around]
[--boundaries <boundary>] [--boundaries-action <action>]
[--fail-if-fullscreen] [--fail-if-macos-native-fullscreen]
(left|down|up|right)
aerospace focus [-h|--help] [--ignore-floating] [--wrap-around]
[--boundaries <boundary>] [--boundaries-action <action>]
(dfs-next|dfs-prev)
aerospace focus [-h|--help] --window-id <window-id>
aerospace focus [-h|--help] --dfs-index <dfs-index>
like, four whole ways to do it. pick your fighter π«Ά
π¦ DESCRIPTION π¦
Set focus to a window. literally the whole point. π
now here's the tea: contrary to i3, the focus command doesn't have a separate argument for focusing floating windows. nope. from the focus command's perspective, floating windows are part of the tree. periodt.
so how does it figure out where a floating window lives? the floating window's parent container is determined as the smallest tiling container that contains the center of the floating window. the way that technique eliminates the need for an additional binding for floating windows? iconic. no cap.
this behavior can be disabled with the --ignore-floating flag, if you're feeling different π
also, focus child|parent isn't supported, because the necessity of this operation is under the question. like, they literally link the receipt:
https://github.com/nikitabobko/AeroSpace/issues/5
π OPTIONS π
-h,--helpβ print help. classic. πΌ--boundaries <boundary>β defines focus boundaries.<boundary>possible values:(workspace|all-monitors-outer-frame). the default is:workspace--boundaries-action <action>β defines the behavior when requested to cross the<boundary>.<action>possible values:(stop|fail|wrap-around-the-workspace|wrap-around-all-monitors). the default is:stop--wrap-aroundβ an alias for--boundaries-action wrap-around-the-workspace. β οΈ heads up bestie: this flag is incompatible with either--boundaries-actionor--boundaries. don't try to run them together, it's giving chaos π--window-id <window-id>β focus the window with specified<window-id>. direct hit π―--dfs-index <dfs-index>β focus window by its index, based on a depth-first search (DFS) of the window within the workspace tree. index is 0-based. so like, zero is the main character, one is next, etc β¨--ignore-floatingβ don't perceive floating windows as part of the tree. it may be useful for more reliable scripting. ngl if you're scripting, this is your bestie π«Ά--fail-if-fullscreenβ exit with non-zero code if the current target window is fullscreen by the fullscreen command. only compatible with(left|down|up|right). lowkey a guardrail π§--fail-if-macos-native-fullscreenβ exit with non-zero code if the current target window is in macOS native fullscreen. only compatible with(left|down|up|right). yes, the native kind, they're different things iykyk π
π ARGUMENTS π
(left|down|up|right)β set focus to the nearest window in the given direction. simple, clean, directional slay π(dfs-next|dfs-prev)β set focus to the window before or after the current window in the depth-first order (top-to-bottom and left-to-right) of windows in the current workspace tree. in this mode,--boundariesmust beworkspace(the default) and--boundaries-actioncan be set to one of(stop|fail|wrap-around-the-workspace). so like, don't get creative with the other boundary values here, it won't fly π
π§ RESOURCES π§
- Project homepage: https://github.com/nikitabobko/AeroSpace
- Guide: https://nikitabobko.github.io/AeroSpace/guide
go read the guide, it's a whole mood π
π BUGS π
found a bug? bestie, report it here:
https://github.com/nikitabobko/AeroSpace/discussions/categories/potential-bugs
maintainers will move verified bugs to:
https://github.com/nikitabobko/AeroSpace/issues
so like, post it in the discussions first, they'll do the moving. that's their job, not yours β¨
π LICENSE π
Copyright Β© 2023 Nikita Bobko
Free use of this software is granted under the terms of the MIT License
You can find the full text of AeroSpace license and its dependencies in the 'legal' directory of the distributed zip archive.
β AUTHOR β
Nikita Bobko and contributors
and that's the whole page, bestie! πΈ this version of the AeroSpace manual was served up on 2026-07-16 β go forth and focus, you absolute icon ππ¦π
π¦ where this page comes from
- nixpkgs unstable: aerospace 0.21.3-Beta
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms