A macOS tweak that programmatically removes window corner radius to achieve clean, square corners on all application windows. This tweak is designed to work with the Ammonia injection system.
View more screenshots: GALLERY.md
x.com/aspauldingcode/apple-sharpener
- Square corners for application windows with configurable radius (0 for sharp corners)
- Live control via CLI: on, off, toggle (no app restart needed)
- Live radius adjustment via -r/--radius with immediate effect across open windows
- Status query via -s/--show-radius (shows current radius and on/off state)
- Persists enabled state and radius across apps via notifyd channels
- Preserves system UI (menus, popovers, HUD/utility windows) by targeting standard app windows only
- Fullscreen-safe behavior; uses 0 radius in fullscreen to avoid visual artifacts
- Early injection through Ammonia ensures consistent appearance at app startup
- Universal build for Intel and Apple Silicon (x86_64, arm64, arm64e)
- System process blacklist to avoid injecting into critical daemons
- macOS Ventura or later (tested on Sonoma and Sequoia), though it probably works on 10.15 +
- Ammonia injection system installed
For Ammonia injection to work, System Integrity Protection (SIP) must be disabled.
To disable SIP, you'll need to:
- Boot into Recovery Mode:
- For Apple Silicon Macs: Hold the power button until "Loading startup options" appears, then click "Options" and select a user/enter password
- For Intel Macs: Hold Command-R during startup
- Open Terminal (from Utilities menu) and run:
- Restart your Mac:
- For Apple Silicon Macs, enable the preview ABI by running:
sudo nvram boot-args="-arm64e_preview_abi"
- You can find the latest pre-built release Ammonia package from Ammonia Injector releases page.
- Download and install the latest Apple Sharpener release from the Apple Sharpener releases page.
-
First, ensure you have the Ammonia injector installed:
git clone https://github.com/CoreBedtime/ammonia cd ammonia ./install.sh -
Then build and install Apple Sharpener:
git clone https://github.com/aspauldingcode/apple-sharpener cd apple-sharpener make sudo make install
See the CLI usage guide: CLI.md
Did you disable SIP? Did you follow this readme carefully?
Apple Sharpener uses method swizzling to modify the window corner mask and titlebar decoration view behavior of macOS applications. It specifically targets application windows while preserving the native appearance of menus, popovers, and other system UI elements.
Contributions are welcome! Feel free to:
- Open issues for bugs or feature requests
- Submit pull requests for improvements
- Share your ideas and suggestions
Licensed under the MIT License.
If you encounter any issues or have questions:
- Check the Issues page for existing reports
- Open a new issue if needed
- Include your macOS version and device type when reporting problems
If you find Apple Sharpener useful, please consider frequent donations to support ongoing development:
-
Share Apple Sharpener with friends!
This tweak requires disabling several macOS security features. Only proceed if you understand the implications of running your system with reduced security. Always download tweaks from trusted sources.
.png)

