sindresorhus / dark-mode

Control the macOS dark mode from the command-line
MIT License
661 stars 28 forks source link

Set appearance to auto? #23

Open LitoMore opened 2 years ago

LitoMore commented 2 years ago

The CLI usage could be dark-mode auto.

The dark mode in the appearance preferences object is boolean. Seems it's impossible to set appearance to auto with a simple AppleScript.

I found a discussion at https://macscripter.net/viewtopic.php?id=48730.

But if there is any other way to set appearance to auto, it would be a great feature.