Skip to content

Control the macOS dark mode from the command-line

License

Notifications You must be signed in to change notification settings

sindresorhus/dark-mode-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dark-mode-cli

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.

Convenience npm package for the dark-mode binary.

Install

npm install --global dark-mode-cli

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

Related