How to automatically switch between dark and light theme in Mojave

If you’ve already upgraded to macOS Mojave, you’ve probably tried the dark theme. I really like it, but during the day I still want to include a light theme.

Read also: How to enable dark theme in macOS Mojave

There are several ways to quickly switch between Light and Dark themes without going through the system settings. But they are based on the same console command:

osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to not dark mode

I prefer to use BetterTouchTool, a program for fine-tuning the behavior of the mouse, keyboard and touchpad.

BetterTouchTool already has a ready-made rule “Toggle Dark Mode”. It is enough to choose a keyboard shortcut and specify the corresponding rule.

BTT has a ready-made action to switch between topics. It can be put on any shortcut

I also found a small free utility called Night Owl that can switch the theme color depending on the time of day.

Leave a Reply

Your email address will not be published.


*