Saturday 25 October 2014

Computers, OS X Yosemite, Tips, How to, Internet, Shortcut

With an simple Terminal command you can make a keyboard shortcut to the toggle Dark Mode off and on.
introduced Dark Mode which replaces the bright colors from the menu bar Dock and application's submenus with the black. You are able to enable Dark Mode via System Preferences but if you find yourself frequently toggling Dark Mode off and on and so you might find that jumping in and out of System Preferences become a drag. Thankfully an enterprising Reddit the user found aside to create an keyboard shortcut for the enabling and  the disabling Dark Mode.

Open the Terminal and copy and the paste this command

sudo defaults write /Library/Preferences/.GlobalPreferences/.plist_HIEnableThemeSwitchHotKey -bool true

You'll need to log off and log back in for the change to take effect.

After the logging back in you can enable and the disable Dark Mode with this keyboard shortcut:

0 comments:

Post a Comment