aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-07-26 14:48:17 +0200
committerMathias Bynens <mathias@qiwi.be>2012-07-26 14:48:17 +0200
commit050b7ca66449b04c948dc072ef69a30af117904b (patch)
treecf0d517bf3a3345b4251aedeccbbc4fb2c285743
parent2d0737e924adafd4793dca83cd0a007e87550396 (diff)
downloaddotfiles-050b7ca66449b04c948dc072ef69a30af117904b.tar.gz
dotfiles-050b7ca66449b04c948dc072ef69a30af117904b.tar.bz2
dotfiles-050b7ca66449b04c948dc072ef69a30af117904b.zip
.osx: Add Twitter.app settings
-rwxr-xr-x.osx27
1 files changed, 26 insertions, 1 deletions
diff --git a/.osx b/.osx
index 47cfd01..5fe3fa3 100755
--- a/.osx
+++ b/.osx
@@ -315,10 +315,35 @@ defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
hash tmutil &> /dev/null && sudo tmutil disablelocal
###############################################################################
+# Twitter.app #
+###############################################################################
+
+# Disable smart quotes as it’s annoying for code tweets
+defaults write com.twitter.twitter-mac AutomaticQuoteSubstitutionEnabled -bool false
+
+# Show the app window when clicking the menu icon
+defaults write com.twitter.twitter-mac MenuItemBehavior -int 1
+
+# Enable the hidden ‘Develop’ menu
+defaults write com.twitter.twitter-mac ShowDevelopMenu -bool true
+
+# Open links in the background
+defaults write com.twitter.twitter-mac openLinksInBackground -bool true
+
+# Allow closing the ‘new tweet’ window by pressing `Esc`
+defaults write com.twitter.twitter-mac ESCClosesComposeWindow -bool true
+
+# Show full names rather than Twitter handles
+defaults write com.twitter.twitter-mac ShowFullNames -bool true
+
+# Hide the app in the background if it’s not the front-most window
+defaults write com.twitter.twitter-mac HideInBackground -bool true
+
+###############################################################################
# Kill affected applications #
###############################################################################
-for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer; do
+for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer Twitter; 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