A few weeks ago our very own Mel Martin pointed out that you can enable the new "dark mode" in OS X Yosemite simply by going to System Preferences > General and checking the "Use Dark Menu and Dock" box. But what if you're Mr. Fussypants, love the dark Dock, but don't exactly like the look of white letters on a dark background in the menubar? That's the dilemma that ManyTricks guru Peter Maurer found himself in. Thanks to a post on Rob Griffith's "The Robservatory" blog, we found Peter's trick to keep your Dock dark and your menus shiny white.
You'll need to be comfortable with the command line interface before making the changes. Here we go:
- Launch Terminal, type in (or copy and paste)
defaults write NSGlobalDomain AppleInterfaceStyle Dark, then press Return. This sets your Mac to Dark Mode.
- Now at the prompt, type or paste
killall Dockand press Return again. This will relaunch the Dock in its Dark mode.
- Finally, type in (or paste)
defaults remove NSGlobalDomain AppleInterfaceStyleand press Return. This turns off dark mode, but the Dock ignores the command ... at least until the next time you reboot your Mac. Voila, you have your dark Dock and light menubar.
Note that the App Switcher (Cmd-Tab) is associated with the Dock, so it will remain dark as well. If you decide to script the entire thing for automatic setup at login, be sure to put a slight delay between steps 2 and 3 so that the Dock has a chance to relaunch.
It's a great trick, and many thanks to both Paul Maurer and Rob Griffiths for bringing it to light.