aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-08-13 12:56:27 +0200
committerMathias Bynens <mathias@qiwi.be>2012-08-13 12:56:27 +0200
commit4c6cc924d83e75216db4ab9c9ce1f14aa1599144 (patch)
treef0e7824e532bdedff42ae707fab954f89ca778c5
parentdd742bf138da25a681695881f1c57078e4405467 (diff)
downloaddotfiles-4c6cc924d83e75216db4ab9c9ce1f14aa1599144.tar.gz
dotfiles-4c6cc924d83e75216db4ab9c9ce1f14aa1599144.tar.bz2
dotfiles-4c6cc924d83e75216db4ab9c9ce1f14aa1599144.zip
.osx: Improve categorization
-rwxr-xr-x.osx55
1 files changed, 32 insertions, 23 deletions
diff --git a/.osx b/.osx
index a3adce5..6106e87 100755
--- a/.osx
+++ b/.osx
@@ -361,18 +361,9 @@ defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.Web
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
###############################################################################
-# Address Book, Dashboard, iCal, iTunes, Mail, TextEdit, and Disk Utility #
+# iTunes #
###############################################################################
-# Enable the debug menu in Address Book
-defaults write com.apple.addressbook ABShowDebugMenu -bool true
-
-# Enable Dashboard dev mode (allows keeping widgets on the desktop)
-defaults write com.apple.dashboard devmode -bool true
-
-# Enable the debug menu in iCal (pre-10.8)
-defaults write com.apple.iCal IncludeDebugMenu -bool true
-
# Disable the iTunes store link arrows
defaults write com.apple.iTunes show-store-link-arrows -bool false
@@ -394,6 +385,10 @@ defaults write com.apple.iTunes disableRadio -bool true
# for `kHiddenMenuItemTargetSearch`.
defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
+###############################################################################
+# Mail #
+###############################################################################
+
# Disable send and reply animations in Mail.app
defaults write com.apple.Mail DisableReplyAnimations -bool true
defaults write com.apple.Mail DisableSendAnimations -bool true
@@ -404,16 +399,6 @@ defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
# Add the keyboard shortcut ⌘ + Enter to send an email in Mail.app
defaults write com.apple.mail NSUserKeyEquivalents -dict-add "Send" "@\\U21a9"
-# Use plain text mode for new TextEdit documents
-defaults write com.apple.TextEdit RichText -int 0
-# Open and save files as UTF-8 in TextEdit
-defaults write com.apple.TextEdit PlainTextEncoding -int 4
-defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4
-
-# Enable the debug menu in Disk Utility
-defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
-defaults write com.apple.DiskUtility advanced-image-options -bool true
-
###############################################################################
# Terminal #
###############################################################################
@@ -428,7 +413,7 @@ defaults write com.apple.Terminal "Default Window Settings" -string "Mathias"
defaults write com.apple.Terminal "Startup Window Settings" -string "Mathias"
# Enable “focus follows mouse” for Terminal.app and all X11 apps
-# This means you can hover over a window and start typing in it without clicking first
+# i.e. hover over a window and start typing in it without clicking first
#defaults write com.apple.terminal FocusFollowsMouse -bool true
#defaults write org.x.X11 wm_ffm -bool true
@@ -443,6 +428,29 @@ defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
hash tmutil &> /dev/null && sudo tmutil disablelocal
###############################################################################
+# Address Book, Dashboard, iCal, TextEdit, and Disk Utility #
+###############################################################################
+
+# Enable the debug menu in Address Book
+defaults write com.apple.addressbook ABShowDebugMenu -bool true
+
+# Enable Dashboard dev mode (allows keeping widgets on the desktop)
+defaults write com.apple.dashboard devmode -bool true
+
+# Enable the debug menu in iCal (pre-10.8)
+defaults write com.apple.iCal IncludeDebugMenu -bool true
+
+# Use plain text mode for new TextEdit documents
+defaults write com.apple.TextEdit RichText -int 0
+# Open and save files as UTF-8 in TextEdit
+defaults write com.apple.TextEdit PlainTextEncoding -int 4
+defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4
+
+# Enable the debug menu in Disk Utility
+defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
+defaults write com.apple.DiskUtility advanced-image-options -bool true
+
+###############################################################################
# SizeUp.app #
###############################################################################
@@ -500,8 +508,9 @@ defaults write com.twitter.twitter-mac HideInBackground -bool true
# Kill affected applications #
###############################################################################
-for app in "Address Book" "Contacts" "iCal" "Calendar" "Dock" "Finder" "Mail" \
- "Safari" "iTunes" "SystemUIServer" "Terminal" "Twitter"; do
+for app in "Address Book" "Calendar" "Contacts" "Dock" "Finder" "Mail" \
+ "Safari" "SizeUp" "SystemUIServer" "Terminal" "Transmission" "Twitter" \
+ "iCal" "iTunes"; do
killall "$app" > /dev/null 2>&1
done
echo "Done. Note that some of these changes require a logout/restart to take effect." \ No newline at end of file