@@ -21,9 +21,6 @@ while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
21
21
# General UI/UX #
22
22
# ##############################################################################
23
23
24
- # Set highlight color to green
25
- defaults write NSGlobalDomain AppleHighlightColor -string " 0.764700 0.976500 0.568600"
26
-
27
24
# Expand save panel by default
28
25
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
29
26
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
@@ -45,10 +42,6 @@ defaults write com.apple.LaunchServices LSQuarantine -bool false
45
42
# Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
46
43
defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
47
44
48
- # Reveal IP address, hostname, OS version, etc. when clicking the clock
49
- # in the login window
50
- sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
51
-
52
45
# Disable smart quotes as they’re annoying when typing code
53
46
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
54
47
@@ -78,40 +71,17 @@ defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool
78
71
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
79
72
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
80
73
81
- # Trackpad: map bottom right corner to right-click
82
- defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
83
- defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
84
- defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
85
- defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
86
-
87
74
# Enable full keyboard access for all controls
88
75
# (e.g. enable Tab in modal dialogs)
89
76
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
90
77
91
- # Disable press-and-hold for keys in favor of key repeat
92
- defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
93
-
94
- # Set a blazingly fast keyboard repeat rate
95
- defaults write NSGlobalDomain KeyRepeat -int 2
96
- defaults write NSGlobalDomain InitialKeyRepeat -int 13
97
-
98
- # Disable auto-correct
99
- defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
100
-
101
78
# ##############################################################################
102
79
# Screen #
103
80
# ##############################################################################
104
81
105
- # Require password immediately after sleep or screen saver begins
106
- defaults write com.apple.screensaver askForPassword -int 1
107
- defaults write com.apple.screensaver askForPasswordDelay -int 0
108
-
109
82
# Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
110
83
defaults write com.apple.screencapture type -string " png"
111
84
112
- # Save screenshots to the downlaods.
113
- defaults write com.apple.screencapture location " $HOME /Downloads/"
114
-
115
85
# ##############################################################################
116
86
# Finder #
117
87
# ##############################################################################
@@ -124,27 +94,15 @@ defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/Desk
124
94
# Finder: show all filename extensions
125
95
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
126
96
127
- # Finder: show all files
128
- defaults write com.apple.finder AppleShowAllFiles -bool true
129
-
130
- # Disable the warning when changing a file extension
131
- defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
132
-
133
97
# When performing a search, search the current folder by default
134
98
defaults write com.apple.finder FXDefaultSearchScope -string " SCcf"
135
99
136
- # Disable the warning before emptying the Trash
137
- defaults write com.apple.finder WarnOnEmptyTrash -bool false
138
-
139
100
# Use AirDrop over every interface. srsly this should be a default.
140
101
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
141
102
142
103
# Always open everything in Finder's list view. This is important.
143
104
defaults write com.apple.Finder FXPreferredViewStyle Nlsv
144
105
145
- # Show the ~/Library folder.
146
- chflags nohidden ~ /Library
147
-
148
106
# Finder: show status bar
149
107
defaults write com.apple.finder ShowStatusBar -bool true
150
108
@@ -163,13 +121,6 @@ defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
163
121
/usr/libexec/PlistBuddy -c " Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid" ~ /Library/Preferences/com.apple.finder.plist
164
122
/usr/libexec/PlistBuddy -c " Set :StandardViewSettings:IconViewSettings:arrangeBy grid" ~ /Library/Preferences/com.apple.finder.plist
165
123
166
- # Set the Finder prefs for showing a few different volumes on the Desktop.
167
- defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
168
- defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
169
-
170
- # Show the /Volumes folder
171
- sudo chflags nohidden /Volumes
172
-
173
124
# ##############################################################################
174
125
# Safari & WebKit #
175
126
# ##############################################################################
@@ -256,22 +207,3 @@ defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
256
207
257
208
# Prevent Photos from opening automatically when devices are plugged in
258
209
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true
259
-
260
- # ##############################################################################
261
- # Transmission.app #
262
- # ##############################################################################
263
-
264
- # Trash original torrent files
265
- defaults write org.m0k.transmission DeleteOriginalTorrent -bool true
266
-
267
- # Hide the donate message
268
- defaults write org.m0k.transmission WarningDonate -bool false
269
- # Hide the legal disclaimer
270
- defaults write org.m0k.transmission WarningLegal -bool false
271
-
272
- # IP block list.
273
- # Source: https://giuliomac.wordpress.com/2014/02/19/best-blocklist-for-transmission/
274
- defaults write org.m0k.transmission BlocklistNew -bool true
275
- defaults write org.m0k.transmission BlocklistURL -string " http://john.bitsurge.net/public/biglist.p2p.gz"
276
- defaults write org.m0k.transmission BlocklistAutoUpdate -bool true
277
-
0 commit comments