diff options
author | Alex Guerrero <alexguerrero1092@gmail.com> | 2015-12-16 14:13:58 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2016-01-14 12:56:19 +0100 |
commit | dc4f1d34dc2808c8463033037396d8102d20921a (patch) | |
tree | 883a44b6ef2f189e26e9210c69d0aa26fc5b1f93 | |
parent | 4b7d29dcc6b92b89f4444ede78921e5dad3f2582 (diff) | |
download | dotfiles-dc4f1d34dc2808c8463033037396d8102d20921a.tar.gz dotfiles-dc4f1d34dc2808c8463033037396d8102d20921a.tar.bz2 dotfiles-dc4f1d34dc2808c8463033037396d8102d20921a.zip |
.osx: Prevent Photos from opening automatically
Closes #608.
-rwxr-xr-x | .osx | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -682,6 +682,13 @@ defaults write com.apple.appstore WebKitDeveloperExtras -bool true defaults write com.apple.appstore ShowDebugMenu -bool true ############################################################################### +# Photos # +############################################################################### + +# Prevent Photos from opening automatically when devices are plugged in +defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true + +############################################################################### # Messages # ############################################################################### @@ -835,7 +842,7 @@ defaults write com.divisiblebyzero.Spectacle UndoLastMove -data 62706c6973743030 for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \ "Dock" "Finder" "Google Chrome" "Google Chrome Canary" "Mail" "Messages" \ - "Opera" "Safari" "SizeUp" "Spectacle" "SystemUIServer" "Terminal" \ + "Opera" "Photos" "Safari" "SizeUp" "Spectacle" "SystemUIServer" "Terminal" \ "Transmission" "Tweetbot" "Twitter" "iCal"; do killall "${app}" &> /dev/null done |