Control the macOS dark mode from the command-line
Switch branches/tags
Nothing to show
Clone or download
Latest commit 165df4c Sep 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources Code cleanup Jul 6, 2018
Tests Ugrade to Swift 4.2 Sep 14, 2018
dark-mode.xcodeproj Ugrade to Swift 4.2 Sep 14, 2018
.editorconfig Code cleanup Jul 6, 2018
.gitattributes Code cleanup Jul 6, 2018
.gitignore Minor improvements Aug 4, 2017
.travis.yml Ugrade to Swift 4.2 Sep 14, 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