Last active
December 14, 2021 19:45
-
-
Save beardcoder/d509fa70c96505925f0d9f894d5765bd to your computer and use it in GitHub Desktop.
Mac Install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Screenshots | |
mkdir ~/Pictures/Screenshots/ | |
defaults write com.apple.screencapture location ~/Pictures/Screenshots/ | |
# Disable cloude Save | |
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false | |
#Use current directory as default search scope in Finder | |
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" | |
#Enable Safari’s debug menu | |
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true | |
#Do not create .DS_Store files on network volumes | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
# Expand save panel by default | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
# Disable the “Are you sure you want to open this application?” dialog | |
defaults write com.apple.LaunchServices LSQuarantine -bool false | |
# Enable subpixel font rendering on non-Apple LCDs | |
defaults write NSGlobalDomain AppleFontSmoothing -int 2 | |
# Disable disk image verification | |
defaults write com.apple.frameworks.diskimages skip-verify -bool true | |
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true | |
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true | |
# Disable the warning before emptying the Trash | |
defaults write com.apple.finder WarnOnEmptyTrash -bool false | |
# Empty Trash securely by default | |
defaults write com.apple.finder EmptyTrashSecurely -bool true | |
# Hot corners | |
# Top left screen corner → Mission Control | |
defaults write com.apple.dock wvous-tl-corner -int 2 | |
defaults write com.apple.dock wvous-tl-modifier -int 0 | |
# Top right screen corner → Desktop | |
defaults write com.apple.dock wvous-tr-corner -int 4 | |
defaults write com.apple.dock wvous-tr-modifier -int 0 | |
# Bottom left screen corner → Start screen saver | |
defaults write com.apple.dock wvous-bl-corner -int 5 | |
defaults write com.apple.dock wvous-bl-modifier -int 0 | |
# Add a spacer to the left side of the Dock (where the applications are) | |
#defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
# Add a spacer to the right side of the Dock (where the Trash is) | |
#defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
# Remove useless icons from Safari’s bookmarks bar | |
defaults write com.apple.Safari ProxiesInBookmarksBar "()" | |
# Make all animations faster that are used by Mission Control. | |
defaults write com.apple.dock expose-animation-duration -float 0.1 | |
Disable the standard delay in rendering a Web page. | |
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25 | |
# The keyboard react faster to keystrokes (not equally useful for everyone | |
defaults write -g InitialKeyRepeat -int 20 | |
defaults write -g KeyRepeat -int 2 | |
# Enable all settings | |
for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer; do killall "$app" > /dev/null 2>&1; done | |
echo "Done. Note that some of these changes require a logout/restart to take effect." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment