-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.macos
97 lines (68 loc) · 4.25 KB
/
.macos
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
91
92
93
94
95
96
97
# 24-Hour Time
defaults write NSGlobalDomain AppleICUForce12HourTime -bool false
# Always show scrollbars
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
# Possible values: `WhenScrolling`, `Automatic` and `Always`
# Always show menubar
defaults write NSGlobalDomain AppleMenuBarVisibleInFullscreen -int 1
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
# Don't restore windows when quitting or re-opening apps
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
# Disable smart quotes as they’re annoying when typing code
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
# Disable smart dashes as they’re annoying when typing code
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
# Disable “natural” (Lion-style) scrolling
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false
# Disable force click
defaults write NSGlobalDomain com.apple.trackpad.forceClick -bool false
# Turn off tap to click
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool false
# Tap with two fingers to emulate right click
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
# Save screenshots to HOME
defaults write com.apple.screencapture location -string "${HOME}"
# Finder: show all filename extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# When performing a search, search the current folder by default
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
# Disable the warning when changing a file extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Use column view in all Finder windows by default
# Four-letter codes for the view modes: `icnv`, `clmv`, `Flwv`, 'Nlsv'
defaults write com.apple.finder FXPreferredViewStyle -string "clmv"
# Turn off the Quick Actions Preview Pane
defaults write com.apple.finder PreviewPaneSettings -dict "com.adobe.pdf" '{"showQuickActions"=0;}' "com.apple.application" '{"showQuickActions"=0;}' "public.archive" '{"showQuickActions"=0;}' "public.html" '{"showQuickActions"=0;}' "public.image" '{"showQuickActions"=0;}' "public.item" '{"showQuickActions"=0;}' "public.spreadsheet" '{"showQuickActions"=0;}'
# Disable the warning before emptying the Trash
defaults write com.apple.finder WarnOnEmptyTrash -bool false
# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
# Change minimize/maximize window effect
defaults write com.apple.dock mineffect -string "scale"
# Make Dock icons of hidden applications translucent
defaults write com.apple.dock showhidden -bool true
# Ask for password after 5 seconds
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 5
# Bottom right screen corner → Start screen saver
defaults write com.apple.dock wvous-br-corner -int 5
# Keep dock on main screen, hopefully (doesn't work)
#defaults write com.apple.dock position-immutable -bool yes
# Set the icon size of Dock items to 30 pixels
defaults write com.apple.dock tilesize -int 30
# Enable the Develop menu and the Web Inspector in Safari
defaults write com.apple.Safari IncludeDevelopMenu -bool true
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled -bool true
#defaults write com.apple.Safari IncludeInternalDebugMenu 1
# Show the full URL in the address bar (note: this still hides the scheme)
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true
# Shorten display of the Notification Center Banner (Makes iTunes less annoying)
defaults write com.apple.notificationcenterui bannerTime 1
# Always display full control strip (ignoring App Controls)
defaults write com.apple.touchbar.agent PresentationModeGlobal fullControlStrip
# Show the ~/Library folder
chflags nohidden ~/Library && xattr -d com.apple.FinderInfo ~/Library