Skip to content

Instantly share code, notes, and snippets.

@MarceauKa
Created December 9, 2021 14:37
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 MarceauKa/d17d129bb26ae770528f9a93c28558ef to your computer and use it in GitHub Desktop.
Save MarceauKa/d17d129bb26ae770528f9a93c28558ef to your computer and use it in GitHub Desktop.
MacOS defaults config

MacOS defaults

Find more at macOS defaults

Dock

Add macOS Dock spacers

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock

Have the Dock show only active apps

defaults write com.apple.dock static-only -bool true; killall Dock

Highlight hidden apps in the Dock

defaults write com.apple.Dock showhidden -bool yes; killall Dock

Alter the Dock’s appearance

defaults write com.apple.dock mineffect -string suck; killall Dock

Reset the Dock to its default state

defaults delete com.apple.dock; killall Dock

Finder

Show extensions

defaults write NSGlobalDomain "AppleShowAllExtensions" -bool "true" && killall Finder

Show hidden files

defaults write com.apple.Finder "AppleShowAllFiles" -bool "true" && killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment