Toggle Mojave Dark Mode On & Off with Keyboard or Touch Bar!

Apple's Mac OS Mojave is Coming This Fall and It's Bringing Dark Mode

Apple has been working on its next major operating system update, and it's bringing dark mode to the table. A feature that users have been asking for for years, dark mode is finally going to be a part of Mac OS Mojave when it launches this fall.

The first beta of Mojave has already been released, and we're currently testing out the features of the operating system. One of the most exciting features to emerge from the beta is dark mode. While it's looking great, there is one major issue with switching between light and dark modes: it can be a bit bothersome.

To switch between light and dark modes on Mojave, you have to go all the way to System Preferences, General, and then click to choose your mode. This is where Automator comes in as a lifesaver. Thanks to Automator, we can create a custom script that allows us to toggle between light and dark modes with a simple keyboard shortcut or button on our MacBook Pros' touch bar.

The credit for this find goes to Thomas verse Ron at verse Ron comm. To get started, you'll need to open the Automator app and click "new document". Then, select "contextual workflow" and click "Choose in the workflow input selection drop down menu". Choose no input if you have a touch bar, as that will allow you to change the image used for the button within the action search bar. Type "Apple" and double-click on "run Apple script".

Now, go down to the script box and select all and delete any existing code. Copy the code in the video description and paste it into this box. You can test out the script by clicking the play icon if dark mode switches on and off your script works.

To save the script, go to "file", click "save" and name it "dark mode". Then, open System Preferences, click on keyboards, then go to the shortcuts tab. Click on services and you should find "dark mode" at the bottom of the list. Make sure the box is checked and click on "add shortcut".

I already have mine mapped to command + B. However, I need to note that it won't override global shortcuts. You'll have to mess around with different shortcuts until you can find one that works for you. Command B didn't work for me until I went up to the send file to bluetooth device command and changed the shortcut to something that didn't involve the B key.

When I use this keyboard shortcut, it automatically toggles between light and dark mode. However, take note that it won't work in other apps that are using the same shortcut as you are. For example, iTunes uses command B to hide column browser.

For all you touch bar users, go back to System Preferences again and click on extensions. Make sure your dark mode workflow is enabled. Then, go back to keyboard settings and click "customize control strip". You should be able to easily drag your dark mode workflow onto your touch bar and simply tap the button anytime you want to toggle dark mode on.

Let us know how that script worked for you in the comment section below. Thanks for watching and make sure to subscribe so you don't miss out on more videos like this one. We'll see you in the next video if you enjoy this video, like it and hit that subscribe button. Also, check out a price guide which makes it extremely easy to find the best deals and Apple products updated daily. Be sure to follow us on social media and we'll see you in the next video.

"WEBVTTKind: captionsLanguage: enApple's Mac OS Mojave is coming this fall and it's bringing dark mode a feature that users have been asking for for years we're currently on the first beta of Mojave and dark mode looks great but is currently a little bothersome to switch in between both modes you have to go to System Preferences general and finally click to choose your mode well thanks to Automator we can now create a custom script that allow us to toggle between light and dark modes with a simple keyboard shortcut or button on your MacBook Pros touch bar credit goes to Thomas verse Ron at verse Ron comm for this find to get started open the Automator app and click new document select contextual workflow and click Choose in the workflow input selection drop down menu choose no input if you have a touch bar you can change the image that will be used for the button within the action search bar type Apple and double-click on run Apple script now go down to the script box select all and delete copy the code in the video description and paste it into this box you can test out the script by clicking the play icon if dark mode switches on and off your script works now go to file click save and name it dark mode open system preferences click on keyboards then go to the shortcuts tab click on services and you should find dark mode at the bottom of the list make sure the box is checked and click on add shortcut I already have mine mapped to command + B I have to note that it won't override global shortcuts so you have to mess around with different shortcuts until you can find the one that works for you command B didn't work for me until I went up to the send file to bluetooth device command and change the shortcut to something that didn't involve the B key now when I use this keyboard shortcut it automatically toggles between light and dark mode take note that it won't work in other apps that are using the same shortcut as you are like iTunes for example that uses command B to hide column browser now for all you touch bar users go to system preferences again click on extensions and click touch bar make sure your dark mode workflow is enabled now go back to keyboard settings and click customize control strip you should be able to easily drag your dark mode workflow on to your touch bar and simply tap the button anytime you want to toggle dark mode on let us know how that script worked for you in the comment section below thanks for watching and make sure to subscribe so you don't miss out on more videos like this one and we'll see you in the next video if you enjoy this video like it and hit that subscribe button also check out a price guide which makes it extremely easy to find the best deals and Apple products updated daily be sure to follow us on social media and we'll see you in the next videoApple's Mac OS Mojave is coming this fall and it's bringing dark mode a feature that users have been asking for for years we're currently on the first beta of Mojave and dark mode looks great but is currently a little bothersome to switch in between both modes you have to go to System Preferences general and finally click to choose your mode well thanks to Automator we can now create a custom script that allow us to toggle between light and dark modes with a simple keyboard shortcut or button on your MacBook Pros touch bar credit goes to Thomas verse Ron at verse Ron comm for this find to get started open the Automator app and click new document select contextual workflow and click Choose in the workflow input selection drop down menu choose no input if you have a touch bar you can change the image that will be used for the button within the action search bar type Apple and double-click on run Apple script now go down to the script box select all and delete copy the code in the video description and paste it into this box you can test out the script by clicking the play icon if dark mode switches on and off your script works now go to file click save and name it dark mode open system preferences click on keyboards then go to the shortcuts tab click on services and you should find dark mode at the bottom of the list make sure the box is checked and click on add shortcut I already have mine mapped to command + B I have to note that it won't override global shortcuts so you have to mess around with different shortcuts until you can find the one that works for you command B didn't work for me until I went up to the send file to bluetooth device command and change the shortcut to something that didn't involve the B key now when I use this keyboard shortcut it automatically toggles between light and dark mode take note that it won't work in other apps that are using the same shortcut as you are like iTunes for example that uses command B to hide column browser now for all you touch bar users go to system preferences again click on extensions and click touch bar make sure your dark mode workflow is enabled now go back to keyboard settings and click customize control strip you should be able to easily drag your dark mode workflow on to your touch bar and simply tap the button anytime you want to toggle dark mode on let us know how that script worked for you in the comment section below thanks for watching and make sure to subscribe so you don't miss out on more videos like this one and we'll see you in the next video if you enjoy this video like it and hit that subscribe button also check out a price guide which makes it extremely easy to find the best deals and Apple products updated daily be sure to follow us on social media and we'll see you in the next video\n"