Yes, I have two scripts:
Disable:
Code:
#!/bin/bash
defaults write com.apple.dock expose-animation-duration -float 0
defaults write com.apple.universalaccess reduceTransparency -bool true
killall Dock
Enable:
Code:
#!/bin/bash
defaults delete com.apple.dock expose-animation-duration
defaults write com.apple.universalaccess reduceTransparency -bool false
killall Dock
These are run automatically whenever the my D3100 is plugged in / unplugged. I use
ControlPlane to detect when that happens so it's all automatic and painless!