Skip to content

Instantly share code, notes, and snippets.

@nuthatch
Created August 11, 2019 20:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuthatch/a84f23f0eb0508f37f14f287ec9ae2cd to your computer and use it in GitHub Desktop.
Save nuthatch/a84f23f0eb0508f37f14f287ec9ae2cd to your computer and use it in GitHub Desktop.
The three macOS preferences I always set on a new machine: no desktop, no drop shadows in screenshots, and clicking app in Dock hides all other apps
#!/bin/bash
# hide Desktop clutter (Desktop is just a folder in Finder)
defaults write com.apple.finder CreateDesktop false
killall Finder
# enable "Purple Button Mode"
# see https://tidbits.com/2009/10/06/revealing-mac-os-xs-hidden-single-application-mode/
defaults write com.apple.dock single-app -bool true
killall Dock
# disable the damn drop shadows in screenshots
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment