phosphor-tile-engine

Automatic-tiling placement engine.

Implements IPlacementEngine for screens running an autotile algorithm. Drives the algorithms from phosphor-tiles in response to compositor events: window open / close / focus, ratio + master-count tweaks, per-screen overrides, and overflow auto-floating when the tiled count exceeds maxWindows. NavigationController lifts focus / swap / rotate / split-ratio out of the engine without forking state. OverflowManager returns float-list deltas without mutating TilingState. PerScreenConfigResolver resolves per-screen overrides → global config. Per-app restore queues capped at 16 entries.

Full API →

Key types

AutotileEngine
Concrete IPlacementEngine for autotile screens.
AutotileConfig
Global config: default algorithm, gaps, master count, per-algorithm settings.
IAutotileSettings
Settings contract (declared in PhosphorEngine).
NavigationController
Stateless helper for focus / swap / rotate / split-ratio.
OverflowManager
Per-screen tracking of auto-floated overflow windows.
PerScreenConfigResolver
Per-screen override → global config resolution.

Dependencies

See also

References