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.
- Removes rounded corners from application windows
- Preserves rounded corners for context menus and system UI elements
- Compatible with both Intel and Apple Silicon Macs
- Early injection ensures consistent window appearance
- macOS Ventura or later
- Ammonia injection system installed
The following security features must be disabled for Ammonia injection to work:
- System Integrity Protection (SIP)
- Library Validation
To disable these features, 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:
csrutil disable
- Restart your Mac:
- After restart, run in Terminal:
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true
- For Apple Silicon Macs, enable the preview ABI by running:
sudo nvram boot-args="-arm64e_preview_abi"
Download the latest release from the 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/yourusername/apple-sharpener cd apple-sharpener make sudo make install
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
This project is licensed under the MIT License - see the LICENSE file for details.
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
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.