Skip to content

Control the macOS dark mode from the command-line

License

Notifications You must be signed in to change notification settings

patrickyoui/dark-mode

 
 

Repository files navigation

dark-mode Build Status

Control the macOS dark mode from the command-line

Requires macOS 10.10 or later.

Install

$ brew install dark-mode
$ 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

About

Control the macOS dark mode from the command-line

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 95.3%
  • Shell 4.7%