From 050b7ca66449b04c948dc072ef69a30af117904b Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 26 Jul 2012 14:48:17 +0200 Subject: .osx: Add Twitter.app settings --- .osx | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to '.osx') diff --git a/.osx b/.osx index 47cfd01..5fe3fa3 100755 --- a/.osx +++ b/.osx @@ -314,11 +314,36 @@ defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true # Disable local Time Machine backups 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 -- cgit v1.2.3