Awesome Open Source
Awesome Open Source
Sponsorship

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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
swift (7,258
cli (1,573
macos (1,518
homebrew (166
cli-app (95
binary (89
dark-mode (48

Find Open Source By Browsing 7,000 Topics Across 59 Categories