# rxhanson/rectangle

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rxhanson-rectangle).**

29,247 stars · 947 forks · Swift · NOASSERTION

## Links

- GitHub: https://github.com/rxhanson/Rectangle
- Homepage: https://rectangleapp.com
- awesome-repositories: https://awesome-repositories.com/repository/rxhanson-rectangle.md

## Description

Rectangle is a desktop window manager that organizes open application windows into predefined layouts and grid positions. It functions as a background utility, allowing users to manipulate window frames through keyboard shortcuts or mouse gestures to improve multitasking and workspace efficiency.

The application acts as a native interface extension, providing window snapping and tiling functionality that integrates directly with the operating system. It supports multi-monitor setups, enabling the distribution and alignment of windows across various displays. By utilizing the system accessibility framework, the tool programmatically queries and modifies window geometry to ensure precise placement.

The software manages window arrangements by intercepting global hotkeys and mouse events to trigger layout logic. It continuously monitors display configurations to adjust snapping boundaries dynamically, calculating target window positions based on screen dimensions and user-defined constraints.

## Tags

### Development Tools & Productivity

- [Window Managers](https://awesome-repositories.com/f/development-tools-productivity/window-managers.md) — Organizes application windows into predefined layouts to improve multitasking and workspace efficiency.
- [Desktop Utilities](https://awesome-repositories.com/f/development-tools-productivity/desktop-utilities.md) — Organizes open application windows into predefined layouts using keyboard shortcuts or mouse gestures.
- [Keyboard Productivity Tools](https://awesome-repositories.com/f/development-tools-productivity/keyboard-productivity-tools.md) — Accelerates window manipulation workflows by mapping screen management tasks to user-defined key combinations.
- [Desktop Interface Extensions](https://awesome-repositories.com/f/development-tools-productivity/desktop-interface-extensions.md) — Adds window snapping and tiling functionality to the native desktop environment.
- [Multi-Display Management Tools](https://awesome-repositories.com/f/development-tools-productivity/multi-display-management-tools.md) — Distributes and aligns windows across multiple displays for a cleaner multi-monitor workspace.
- [Accessibility Utilities](https://awesome-repositories.com/f/development-tools-productivity/accessibility-utilities.md) — Uses system accessibility frameworks to programmatically query and adjust the geometry of active application windows.
- [Workflow Automation Tools](https://awesome-repositories.com/f/development-tools-productivity/workflow-automation-tools.md) — Streamlines window arrangement and resizing using keyboard shortcuts to reduce mouse movement.

### Part of an Awesome List

- [Window Management](https://awesome-repositories.com/f/awesome-lists/productivity/window-management.md) — A tool for organizing windows using keyboard shortcuts.
