AEROSPACE-SWAP(1)
π AEROSPACE-SWAP(1) β the AeroSpace manual, bestie edition π¦
okay so real talk, this is aerospace-swap from the AeroSpace manual and it's literally about swapping your focused window with another window β¨ no cap, that's the whole vibe.
πΈ NAME πΈ
aerospace-swap β swaps the focused window with another window π«Ά
β SYNOPSIS β
aerospace swap [-h|--help] [--window-id <window-id>] [--swap-focus]
[--wrap-around] (left|down|up|right|dfs-next|dfs-prev)
like, that's the whole shape of it. flags first, direction last, periodt π
π DESCRIPTION π
Swaps the focused window with another window. that's it, that's the girl π
the operation is equivalent to dragging a window with the mouse β so if you've ever yeeted a window across the screen with your cursor and thought "wow this is iconic but also my wrist hurts", yeah, this command is that, but fancy β¨
π OPTIONS π
-h,--helpβ print help. the classic "wait what does this do again" button π«Ά--window-id <window-id>β act on the specified window instead of the focused window. and listen: this flag takes precedence over theAEROSPACE_WINDOW_IDandAEROSPACE_WORKSPACEenvironment variables. so if you're setting those env vars and also passing this flag, the flag wins, sorry not sorry π--swap-focusβ swap focus away from the currently focused window. because by default, this command does not change the focused window. so the focus stays put unless you explicitly ask for it to move, iykyk πΈ--wrap-aroundβ wrap around if the window is at the edge of the workspace (for(left|down|up|right)) or the start/end of the depth first order (for(dfs-next|dfs-prev)). so instead of hitting a wall and giving up, it loops back around like a main character who refuses to be stopped π₯
π¦ ARGUMENTS π¦
(left|down|up|right)β swaps the focused window with the nearest window in the given direction. simple, clean, directional slay β¬ οΈβ¬οΈβ¬οΈβ‘οΈ(dfs-next|dfs-prev)β swaps the focused window with the next or previous window in the depth-first order (top-to-bottom and left-to-right) of windows in the current workspace tree. yes bestie, there's a whole tree, and this walks it in order, no cap π
π§ RESOURCES π§
- Project homepage: https://github.com/nikitabobko/AeroSpace
- Guide: https://nikitabobko.github.io/AeroSpace/guide
go read the guide, it's giving "useful" and honestly obsessed π
π BUGS π
bugs can be reported to:
https://github.com/nikitabobko/AeroSpace/discussions/categories/potential-bugs
maintainers will move verified bugs to:
https://github.com/nikitabobko/AeroSpace/issues
so like, drop it in discussions first, they'll graduate it to issues when it's confirmed fr fr π
π 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.
like, it's MIT, it's free, go wild, but the receipts live in 'legal' π
π AUTHOR π
Nikita Bobko and contributors β the icons, the moment, the legends β
ngl, if you're at the edge of a workspace and nothing's happening, that's not a bug, that's --wrap-around not being passed. vibe check your flags first π«Ά
AeroSpace Β· 2026-07-16 Β· that's the date stamp bestie, and this was AEROSPACE-SWAP(1), k bye, go swap some windows π
β¨π
π¦ 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