Advertisement

Dark Dock, light menus -- it's possible with this Yosemite hack

Mac OS X 10.10 Yosemite Dark Mode Hack



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:

  1. Launch Terminal, type in (or copy and paste) defaults write NSGlobalDomain AppleInterfaceStyle Dark, then press Return. This sets your Mac to Dark Mode.

  2. Now at the prompt, type or paste killall Dock and press Return again. This will relaunch the Dock in its Dark mode.

  3. Finally, type in (or paste) defaults remove NSGlobalDomain AppleInterfaceStyle and 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.