spatialmsg(1)
π spatialmsg(1) β General Commands Manual edition: send messages to Spatial Shell over IPC π
β¨ NAME β¨
spatialmsg sends messages to a running instance of Spatial Shell over the IPC socket. that's literally the whole job, and it's iconic for it π
.
π¦ SYNOPSIS π¦
bestie, the shape is right here β keep the brackets exactly as they are, they're doing important work π«Ά:
spatialmsg [--json|--quiet] [-t <type>] [message]
π OPTIONS π
okay so the flags are giving choices β¨:
--quietβ sends the IPC message, but does not print the response from Spatial Shell. silent-mode bestie, no notes π.--jsonβ prints the response from Spatial Shell as received, that is in JSON. raw JSON realness, we love to see it π§.--type,-t <type>β specifies the type of the IPC message. the types are right below, keep scrolling π.
π IPC MESSAGE TYPES π
these are the message types you can pass with --type / -t, and yes they all have main character energy π:
<command>β the message is a Spatial Shell command. Seespatial(5)for a list of available commands.get_workspace_configβ gets the current workspace configuration: its layout, and the maximum number of columns displayed at once when in the column layout. workspace config tea β.get_workspacesβ gets the list of the workspaces currently in use.get_windowsβ gets the list of the windows for the current workspace.
See spatial-ipc(7) for a description of the JSON objects returned for each IPC message. iykyk π¦.
π RETURN CODE π
exit codes, aka the final vibe check π:
0β Success β¨1β Invalid but correctly parsed command line arguments2β Spatial Shell returned an error124β Command line parsing errors125β Internal errors (bugs)
π AUTHOR π
Developed by Thomas Letan <lthms@soap.coffee> β yes, that's the icon behind it π. For more information about Spatial Shell development, see <https://github.com/lthms/spatial-shell>.
π ACKNOWLEDGMENT π
Spatial Shell could not have been possible without sway, which remains a reference and a significant source of inspiration for the software architecture of this project, including for the wording of several man pages. respect where respect is due, fr fr π«Ά.
okay that's the whole vibe π β spatialmsg(1) from the General Commands Manual, dated 1980-01-01. bye bestie, go send some messages πβ¨
π¦ where this page comes from
- nixos 26.05: ocaml5.4.1-spatial-shell 7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms