- macwmfx is a macOS tweak for ammonia injector that enables configurable WindowManager Effects to macOS, similar to what swayfx does for sway on linux.
- Authored by aspauldingcode
- Inspired by:
NOTICE: this is work-in-progress. I'm working on refactoring, and I promise this product will be complete at some point. macOS users will finally have some configurable window management ricing features. For now, please sit tight. Feel free to contribute if you'd like, although prs may not be merged, until I find a repo layout I'm happy with.
- Configurable windowfx dotfile in ~/.config/macwmfx/config
- Disable Titlebars
- Disable Traffic Lights
- Disable Window Shadows
- Disable Window Resize Constraints (resize almost all windows to any size)
- Enable Window Blur (configure blur radius and passes)
- Enable Window Transparency
- Border Outline (active/inactive), Border Width
- Border Corner Radius - This one is special.
- All applications will quit when the last window closes
- Whitelist applications by bundle identifier
- Blacklist applications by bundle identifier
- Download and install ammonia from bedtime. Also, make sure to disable SIP, library validation, and enable preview arm64e abi.
- Make sure you have Nix installed with flakes enabled
- Clone the repository:
git clone https://github.com/aspauldingcode/macwmfx cd macwmfx
- Build and install using the flake:
This will build macwmfx and install it to
nix run
/usr/local/bin/ammonia/tweaks
Makefile:
make clean; make
Nix: To build with live verbose trace, run:
nix build .#macwmfx -L --show-trace --verbose
Feel free to modify and adapt this code for your own projects. However, please provide appropriate attribution rather than simply rebranding it. Be respectful of the open source community. If you make improvements, we welcome pull requests and contributions back to the project.