About this project

swm is a command-line window manager for macOS that operates as a daemon to track applications, displays, spaces, and windows. It provides a shell-based interface to manage window layouts and system state, serving as a successor to Stark. Key capabilities include: - Automatic Tiling: Supports multiple layout modes including float, master, monocle, and dwindle. - Window Management: Commands for focusing, minimizing, moving, resizing, and swapping windows, including grid-based placement. - Space Configuration: Ability to set layout, padding, and gaps for individual spaces or globally. - State Querying: Returns JSON data regarding displays, spaces, and windows. - Event-Driven Automation: A signal system that allows users to execute shell actions based on runtime events such as window creation or focus changes. - Configuration: Supports a startup configuration file (~/.config/swm/swmrc) for persistent settings and signal registrations. Note: swm does not handle keyboard bindings directly; it is designed to be used with a separate hotkey daemon.