Skip to content
Control the macOS dark mode from the command-line
Swift Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sources 3.0.0 Oct 14, 2019
Tests 3.0.0 Oct 14, 2019
dark-mode.xcodeproj 3.0.0 Oct 14, 2019
.editorconfig Upgrade to Swift 5.1 Sep 11, 2019
.gitattributes Upgrade to Swift 5.1 Sep 11, 2019
.gitignore Upgrade to Swift 5.1 Sep 11, 2019
.travis.yml
build Upgrade to Swift 5.1 Sep 11, 2019
license Upgrade to Swift 5.1 Sep 11, 2019
readme.md Update readme.md Nov 13, 2019
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. macOS 10.13 or earlier needs to download the Swift runtime support libraries.

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

You can’t perform that action at this time.