rxhanson/Rectangle ? reverse-engineered prompt

Reverse engineered prompt

I want to create a simple window management utility for macOS. The main idea is to let me organize my open windows using either keyboard shortcuts or by dragging them. For example, I should be able to press a hotkey to make the active window fill the left half of the screen, the right half, or a corner.

The dragging feature is also important. If I drag a window to the very edge of the screen, it should show a little footprint and then snap into place when I let go. Dragging to the side should make it a half, and dragging to a corner should make it a quarter.

This should run as a small app that lives in my menu bar. The menu should let me access a preferences panel where I can see and customize all the different keyboard shortcuts for actions like halves, thirds, and maximizing. I also need a way to tell the app to ignore certain applications so that its keyboard shortcuts don't conflict with them. It should be a native Swift app that feels fast and lightweight.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab