Skip to content

Instantly share code, notes, and snippets.

@kfitfk
Last active August 9, 2022 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kfitfk/b8d09f02be6a1c4f4b0da7fb771758cc to your computer and use it in GitHub Desktop.
Save kfitfk/b8d09f02be6a1c4f4b0da7fb771758cc to your computer and use it in GitHub Desktop.
Use iMac M1 accent colours on any Mac

First, enable NSColorSimulateHardwareAccent

defaults write -g NSColorSimulateHardwareAccent -bool YES

Then choose a color with NSColorSimulatedHardwareEnclosureNumber with a value between 3 and 8 inclusive.

defaults write -g NSColorSimulatedHardwareEnclosureNumber -int 4

  • 3: yellow
  • 4: green
  • 5: blue
  • 6: pink
  • 7: purple
  • 8: orange

Restart apps to make the changes take effect, or just log out and back in to update everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment