AEROSPACE-LIST-WORKSPACES(1)
π aerospace-list-workspaces(1) β from the AeroSpace Manual, bestie
okay so you opened the manual page for aerospace-list-workspaces and honestly? good for you. this is the AeroSpace Manual, section 1, and we're about to go through the whole thing together, no skips, no "you can read the rest later", we're doing this π
β¨ NAME β¨
aerospace-list-workspaces β prints out the workspaces that satisfy your conditions, literally that's the whole job and she does it beautifully π
π¦ SYNOPSIS π¦
aerospace list-workspaces [-h|--help] --monitor <monitor>... [--visible [no]] [--empty [no]] [--format <output-format>] [--count] [--json]
aerospace list-workspaces [-h|--help] --all [--format <output-format>] [--count] [--json]
aerospace list-workspaces [-h|--help] --focused [--format <output-format>] [--count] [--json]
three whole shapes, pick your fighter πΈ
π DESCRIPTION π
Print workspaces that satisfy conditions. that's it. that's the vibe. she lists workspaces, you vibe check them, everyone goes home happy β¨
π OPTIONS π
-h,--helpβ prints the help. iconic, classic, we love a self-documenting queen π«Ά--format <output-format>β tells her exactly how you want the output shaped. peek the "Output Format" section down below for the full tea π--allβ an alias for--monitor all. and bestie, please use this one with caution. use it when you really need to get workspaces/windows from all monitors.
for a multi-monitor setup, --monitor focused is almost always the preferred option. the way that automation should not be messing up your workspaces/windows on a completely different monitor, fr fr.
with great power comes great responsibility. no cap. π
--focusedβ an alias for--monitor focused --visible. always prints exactly one workspace. single. solo. main character energy π--monitor <monitors>β filters results so you only print workspaces/windows attached to the monitors you named.<monitors>is a space separated list of monitor IDs.
the possible monitor IDs are:
- a 1-based index of a monitor, as if the monitors were ordered horizontally from left to right
allβ a special monitor ID that represents all monitorsmouseβ a special monitor ID that represents the monitor with the mousefocusedβ a special monitor ID that represents the focused monitor
--visible [no]β filters results to only print currently visible workspaces.[no]inverts the condition. and yes, several workspaces can be visible in a multi-monitor setup πΈ--empty [no]β filters results to only print empty workspaces.[no]inverts the condition π--format <output-format>β specify the output format. see the "Output Format" section for more details. incompatible with--countπ«--countβ outputs only the number of workspaces. incompatible with--formatπ--jsonβ outputs in JSON format. can be used in combination with--formatto specify which data gets included into the json. incompatible with--countπ₯
π§ OUTPUT FORMAT π§
the output format is configurable with the optional [--format <output-format>] option. <output-format> supports string interpolation β yes, like [that wikipedia article](https://en.wikipedia.org/wiki/String_interpolation) but you already knew that, iykyk π
if you don't specify anything, the default <output-format> is:
%{workspace}
the following variables can be used inside <output-format>:
%{workspace}β String. the name of the belonging workspace π%{workspace-is-focused}β Boolean.trueif the workspace has focus π%{workspace-is-visible}β Boolean.trueif the workspace is visible. a workspace can be visible but not focused in a multi-monitor setup π%{workspace-root-container-layout}β String. the layout (v_tiles,h_tiles,v_accordion,h_accordion) of the workspace's root container π§©%{monitor-id}β 1-based Number. the sequential number of the belonging monitor β%{monitor-appkit-nsscreen-screens-id}β 1-based Number. the sequential number of the belonging monitor inNSScreen.screens. useful for integration with other tools that might be usingNSScreen.screensordering (like sketchybar) π¦%{monitor-name}β String. the name of the belonging monitor π%{monitor-is-main}β Boolean.trueif the monitor is main πΈ%{right-padding}β a special variable which expands with a minimum number of spaces required to form a right padding in the appropriate column. yes she formats, yes she slays π%{newline}β the UnicodeU+000Anewline symbol\nπ%{tab}β the UnicodeU+0009tab symbol\tπ
π₯ RESOURCES π₯
- Project homepage:
https://github.com/nikitabobko/AeroSpace - Guide:
https://nikitabobko.github.io/AeroSpace/guide
go read the guide, she ate π
π 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 π«Ά
π 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 the AeroSpace license and its dependencies in the legal directory of the distributed zip archive β
π AUTHOR π
Nikita Bobko and contributors π
ok that's literally the whole page, bestie. go forth and list-workspaces responsibly (remember: with great power comes great responsibility) π
AeroSpace, dated 2026-07-16 β mwah, big kiss, this manual page for aerospace-list-workspaces(1) is officially done ππ
β¨
π¦ 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