spatial(5)
π¦ NAME π¦
spatial β configuration file and commands. Bestie, thatβs the whole vibe: itβs the config-file-and-commands era. π
πΈ DESCRIPTION πΈ
Okay so a Spatial Shell configuration file is literally a list of commands that Spatial Shell executes on startup. These commands usually consist of setting your preferences, either globally or per workspace. No cap. β¨
π COMMANDS π
This section lists the commands supported by Spatial Shell, which can be used in the config file, via spatialmsg(1) or via spatial-ipc(7) directly. Group-chat access, basically. π«Ά
window <n>β Focus the *n*th window of the current workspace (starting from0). Zero-indexed, iconic behavior. πfocus left|right|up|down|workspace <n>β Change the focus of sway to a new container, following the gride maintained by Spatial Shell.focus rightandfocus leftmove the focus horizontally, within a given workspace, whilefocus upandfocus downmove the focus vertically, from one workspace to the other. Finally,focus workspace nmove the focus to the workspacen. Directional slay. π¦move left|right|up|down|workspace <n>β Move the focused window within Spatial Shell gride, that is within its current ribbon (leftorright) or to a different workspace (upordown). This command will change the current workspace in the latter case, inserting the window on the right of the previously focused one. Finally,move workspace nmove the window to the workspacen. In these two cases, the current workspace is updated accordingly, and the moved window retains the focus. Main-character window energy, fr fr. πdefault layout maximize|column/[workspace=<n>] default layout maximize|columnβ Set the default layout used by workspaces when they are first visited. Using the[workspace=<n>]prefix, limit the scope of the command to workspacen. Seespatial(1)for a description of each layout. Layout prefs: handled. πtoggle layoutβ Change the layout of the current workspace. If the workspace was using the layout Maximize, then it switches to Column. On the contrary, if it was using the layout Column, then it switches to Maximize. The flip-flop is the moment. πdefault column count <m>/[workspace=<n>] default column count <m>β Set the default number of windows displayed at most when a workspace uses the Column layout. Using the[workspace=<n>]prefix, limit the scope of the command to workspacen. Column-count boundaries, set. πcolumn count increment|decrementβ Increase (resp. decrease) the maximum number of windows Spatial Shell shows in the current workspace, when the latter uses the Column layout. Default is2, but this can be changed using thedefault column countcommand (either globally or per workspace). Two is the starting point, not the limit. π₯status_bar_name "<name>"β Set the name of the status bar (quotes are mandatory). This is used byspatial(1)to send it a signal (SIGMIN+8) to update it (for instance, when windows are moved around or the focus changes). Quotes are not optional, bestie β mandatory means mandatory. π
π AUTHOR π
Developed by Thomas Letan <lthms@soap.coffee>. Fore more information about Spatial Shell development, see <https://github.com/lthms/spatial-shell>. Author info: delivered. π
π«Ά 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. πΈ
π Thatβs the spatial(5) page from the File Formats Manual, dated 1980-01-01 β periodt, bestie. π
π¦ 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