How to disable Mac's radius corner of the window

How to disable Mac's radius corner of the window

Update on 2020-12-30: Use this way to modify system files on Big Sur!

Update for big sur! (2020-12-07)

  1. The big sur doesn't allow making root volume writable anymore, since it's a snapshot now.

Follow these instructions to modify system files (or see details here):

  1. The WindowFrame_WindowShapeEdges is not in the ( for the dark theme) anymore but in the ( for the dark theme).

  2. The old ThemeEngine (v2) doesn't support the big sur anymore, you need to use the v3 branch released by @jslegendre.

Below is the original post:

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 ( for the light theme and for the dark theme). Take as an example:

    cp ../ .
    open . # Open this folder with finder

  7. Double click the file 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 back to the system path.

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

  10. Reboot


  1. ThemeEngine - GitHub
  2. macOS Mojave disable all 4 rounded window corners either with defaults, or software, or programatically
  3. square-macos-windows - GitHub
  4. MacOS 11 Big Sur
  5. ThemeEngine V3 branch