Control the macOS dark mode from the command-line
Swift Shell
Switch branches/tags
Clone or download
Permalink
Failed to load latest commit information.
Sources Code cleanup Jul 6, 2018
Tests Improve the API Sep 13, 2017
dark-mode.xcodeproj Upgrade to Swift 4.1 Mar 30, 2018
.editorconfig Code cleanup Jul 6, 2018
.gitattributes Code cleanup Jul 6, 2018
.gitignore Minor improvements Aug 4, 2017
.travis.yml Code cleanup Jul 6, 2018
build Code cleanup Jul 6, 2018
license Minor improvements Aug 4, 2017
readme.md Document that it still works with Mojave Jul 9, 2018
screenshot.gif init Oct 17, 2014

readme.md

dark-mode Build Status

Control the macOS dark mode from the command-line

Requires macOS 10.10 or later. It works with macOS 10.14.

Install

Homebrew
$ brew install dark-mode
npm
$ npm install --global dark-mode-cli
Manually

Download the binary and put it in /usr/local/bin.

Usage

$ dark-mode --help

  Usage
    $ dark-mode [command]

  Commands
    <none>  Toggle dark mode
    on      Enable dark mode
    off     Disable dark mode
    status  Dark mode status

Build

Run ./build or build in Xcode.

Related

License

MIT © Sindre Sorhus