How to disable Mac's radius corner of the window

How to disable Mac's radius corner of the window

Tested on Catalina 10.15.3 | Last Updated: Wed Apr 8 22:32:32 CST 2020

  1. Disable SIP (There are lots tutorial online to teach you how to do it, will not expand the details here)

  2. Install ThemeEngine (Note: only this build supports catalina 10.15)

  3. Make system volume writable: sudo mount / -uw

  4. Backup original theme resources: rsync -rI /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/ .

  5. Create a new folder for editing the theme file: mkdir edited && cd edited

  6. Copy a theme file here and edit it (SystemApperance.car for the light theme and DarkAquaAppearance.car for the dark theme). Take SystemAppearance.car as an example:

    1
    2
    cp ../SystemAppearance.car .
    open . # Open this folder with finder

  7. Double click the file SystemAppearance.car to edit it with ThemeEngine that we installed before

  8. Edit WindowFrame_WindowShapeEdges

    • Replace masks to squares
    • Replace base images to pure transparent images
  9. Save all changes, replace the modified SystemAppearance.car back to the system path.

    1
    sudo cp SystemAppearance.car /System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/

  10. Reboot

Links

  1. ThemeEngine - GitHub
  2. macOS Mojave disable all 4 rounded window corners either with defaults, or software, or programatically
  3. square-macos-windows - GitHub