Control the macOS dark mode from the command-line
Requires macOS 10.10 or later.
$ brew install dark-mode
$ npm install --global dark-mode-cli
Download the binary and put it in /usr/local/bin.
$ dark-mode --help
Usage
$ dark-mode [command]
Commands
<none> Toggle dark mode
on Enable dark mode
off Disable dark mode
status Dark mode status
Run ./build or build in Xcode.
- node-dark-mode - Node.js port
- alfred-dark-mode - Alfred workflow
MIT © Sindre Sorhus
