Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

macOS X Mojave - Light and Dark appearance mode toggles [closed]

Has anyone found a way to toggle between the Light and Dark appearance modes using macOS X Mojave- with a keyboard shortcut or terminal command?

like image 911
jakimo Avatar asked Jun 24 '18 21:06

jakimo


People also ask

How do you toggle between dark and light on a Mac?

On your Mac, choose Apple menu > System Preferences, then click General . Select Light, Dark, or Auto. Light is a light appearance that doesn't change.

Does Mojave support Dark Mode?

To use a light background for documents while Dark Mode is turned on, click View in the menu bar in TextEdit, then deselect Use Dark Background for Windows. (Requires macOS Mojave 10.14. 2 or later.)

How do I stop my Mac from going into night mode?

On your Mac, choose Apple menu > System Preferences, click Displays , then click Night Shift. Click the Schedule pop-up menu, then choose an option. Off: Choose this if you don't want Night Shift to come on automatically.

Why can't I get Dark Mode on my Mac?

To enable Dark Mode on a Mac, click the Apple logo in the top-left corner of your screen. Then select System Preferences and click the General button in the pop-up window. Finally, click Dark or Auto to enable Dark Mode. Click the Apple logo in the top-left corner of your Mac's screen.


1 Answers

From Terminal.app, you can run (or save as a script):

osascript -e 'tell application "System Events" to tell appearance preferences to set dark mode to not dark mode'
like image 62
marcprux Avatar answered Oct 03 '22 02:10

marcprux