Skip to content

Add auto-tile and master-stack command#1986

Closed
oleksandr-antonenko wants to merge 2 commits intonikitabobko:mainfrom
oleksandr-antonenko:feature/auto-tile-and-master-stack
Closed

Add auto-tile and master-stack command#1986
oleksandr-antonenko wants to merge 2 commits intonikitabobko:mainfrom
oleksandr-antonenko:feature/auto-tile-and-master-stack

Conversation

@oleksandr-antonenko
Copy link

Summary

  • Adds auto-tile config option for i3-style spiral/dwindle tiling: new windows automatically alternate between horizontal and vertical splits based on the focused window dimensions
  • Adds master-stack command: arranges windows with a master (70% width) and spiral-tiled stack, with --cycle flag to rotate windows through the master position
  • Includes documentation (adoc) and generated help/subcommand descriptions

Test plan

  • auto-tile = true in config, open 4+ windows - verify spiral layout forms
  • auto-tile = false preserves current flat behavior
  • master-stack makes focused window the master at 70% width
  • master-stack --cycle rotates all windows through master position
  • Closing windows in spiral correctly simplifies tree (flatten normalization)

Add auto-tile config option that automatically alternates split direction
based on the focused window dimensions when placing new windows, producing
a spiral/dwindle layout similar to i3/sway autotiling.

Add master-stack command that arranges the focused window at ~70% width
with remaining windows spiral-tiled in the remaining space. Supports
--cycle flag to rotate which window is the master.
The CI failed because cmdHelpGenerated.swift is auto-generated from
docs/aerospace-*.adoc files. The master-stack help was manually added
in the wrong position and the subcommand description was missing.
@nikitabobko
Copy link
Owner

The PR doesn't follow project's guidelines. Please stop submitting it.

@nikitabobko nikitabobko closed this Mar 4, 2026
@oleksandr-antonenko
Copy link
Author

oleksandr-antonenko commented Mar 4, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants