-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteresting-mac-defaults.txt
More file actions
90 lines (56 loc) · 2.69 KB
/
interesting-mac-defaults.txt
File metadata and controls
90 lines (56 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# System Preferences > General > Sidebar icon size: Large
defaults write -globalDomain NSTableViewDefaultSizeMode -int 3
### Dock
# System Preferences > Dock > Size:
defaults write com.apple.dock tilesize -int 70
# System Preferences > Dock > Magnification:
defaults write com.apple.dock magnification -bool true
# System Preferences > Dock > Size (magnified):
defaults write com.apple.dock largesize -int 90
# System Preferences > Dock > Minimize windows using: Scale effect
defaults write com.apple.dock mineffect -string "scale"
# System Preferences > Dock > Automatically hide and show the Dock:
defaults write com.apple.dock autohide -bool true
# System Preferences > Dock > Automatically hide and show the Dock (duration)
defaults write com.apple.Dock autohide-delay -float 0.05
# System Preferences > Dock > Automatically hide and show the Dock (delay)
defaults write com.apple.dock autohide-time-modifier -float 0.1
# System Preferences > Dock > Minimize Windows using > Scale effect
defaults write com.apple.dock mineffect -string scale
# Never automatically to switc spaces with open windows
defaults write com.apple.dock workspaces-auto-swoosh -bool NO && killall Dock
### Mission Control
# System Preferences > Mission Control > Automatically rearrange Spaces based on most recent use
defaults write com.apple.dock mru-spaces -bool false
defaults write com.apple.dock expose-animation-duration -float 0.05
### Keyboard
defaults write -g InitialKeyRepeat -int 10
defaults write -g KeyRepeat -int 1
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Disable smart dashes
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
# Disable automatic periods with a double space
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false
# Disable smart quotes
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
### Trackpad
# Very fast tracking speed
defaults write -g com.apple.trackpad.scaling -float 5.0
### Finder
# Finder > Preferences > Show all filename extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Show hidden files
defaults write com.apple.Finder AppleShowAllFiles true
# Finder > Preferences > Show wraning before changing an extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool falvse
# Finder > View > As List
defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv"
# Finder > View > Show Path Bar
defaults write com.apple.finder ShowPathbar -bool true
# Make Finder quitable
defaults write com.apple.finder QuitMenuItem -bool true
#####################
# Kill affected apps
for app in "Dock" "Finder"; do
killall "${app}" > /dev/null 2>&1
done