Adding a Mouse Gradient to Stacks in Mac OS X – Leopard

Here’s how to add a mouse-over gradient to your Stacks in Leopard:

Open Terminal and type the following command:

defaults write com.apple.dock mouse-over-hilte-stack -boolean YES

Hit return and then restart the Dock with this command:

killall Dock

To get back the default behaviour, replace “YES” in the above command with “NO”.