AEROSPACE-SUBSCRIBE(1)
π AEROSPACE-SUBSCRIBE(1) π
okay so this is the aerospace-subscribe page, straight out of the AeroSpace Manual β yes that AeroSpace, the tiling window manager bestie π
β¨ NAME β¨
aerospace-subscribe β subscribe to AeroSpace events and get notifications slid right into your socket, like a little group chat but for your windows π«Ά
β¨ SYNOPSIS β¨
aerospace subscribe [-h|--help] [--all] [--no-send-initial] [<event>...]
β¨ DESCRIPTION β¨
Subscribe to AeroSpace events and receive notifications via socket. That's the whole vibe π
This command connects to the AeroSpace server and receives real-time event notifications as JSON lines. The connection stays open until you terminate it (like, <kbd>Ctrl</kbd>+<kbd>C</kbd>, the classic escape hatch π). It literally just sits there, streaming, serving, being the main character.
On connect, the current state gets sent immediately β no waiting, no "let me think about it" energy. That means focus-changed with the current window/workspace, mode-changed with the current mode, etc. Instant slay on arrival β¨
β¨ OPTIONS β¨
-h,--helpβ print help. the "what does this even do" button π--allβ subscribe to all event types. yes, all of them. greedy queen behavior, we love her π--no-send-initialβ do not send the initial state on connect. you want the stream without the little welcome gift, iconic honestly
β¨ ARGUMENTS β¨
here's the menu of events you can subscribe to, pick your faves π
focus-changedβ fired when window focus changes. includeswindowId,workspace.focused-monitor-changedβ fired when the focused monitor changes. includesworkspace,monitorId.focused-workspace-changedβ fired when the focused workspace changes. includesworkspace,prevWorkspace.mode-changedβ fired when the binding mode changes. includesmode.window-detectedβ fired when a new window is detected. includeswindowId,workspace,appBundleId,appName. new window just dropped π₯binding-triggeredβ fired when a keyboard binding is triggered. includesbinding,mode.
β¨ OUTPUT FORMAT β¨
Events come out as JSON lines β one JSON object per line, no cap π§
{"_event":"focused-monitor-changed","monitorId":1,"workspace":"M"}
{"_event":"focused-workspace-changed","prevWorkspace":"M","workspace":"M"}
{"_event":"mode-changed","mode":"main"}
{"_event":"focus-changed","windowId":28218,"workspace":"M"}
β¨ RESOURCES β¨
- Project homepage: https://github.com/nikitabobko/AeroSpace
- Guide: https://nikitabobko.github.io/AeroSpace/guide
go read the guide bestie, it's giving β¨knowledgeβ¨
β¨ 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
fr fr if something's broken, tell them β but in the discussions first, that's the whole flow π
β¨ 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.
(legal directory core π always check the legal directory)
β¨ AUTHOR β¨
Nikita Bobko and contributors β shoutout to the whole squad π
AeroSpace Β· 2026-07-16 Β· AEROSPACE-SUBSCRIBE(1)
and that's the page!! go subscribe to some events, stream that JSON, be the main character of your own window manager ππ¦
π¦ 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