Automatically switch between light and dark system themes on sunrise and sunset.
As of today, Nightcall only works with macOS. Standalone installation will make most sense with Mojave (or newer) as this is the first version to have a proper dark OS theme.
Just run:
yarn global add nightcall
or:
npm i -g nightcall
Nightcall will be installed globally and automatic setup will follow right after installation.
There is a Nightcall (VS Code) extension available to switch between dark and light themes in VS Code in sync with Nightcall.
To run tests locally, go to the module directory and execute yarn run jest
- suncalc - for calculating sunrise and sunset
- public-ip - for obtaining public IP address
- api.ipstack.com - for getting location based on public IP address
- node-wifiscanner - for getting data about wifi APs in the surrounding
- NightSwitch - VS Code extension for switching between light and dark theme on sunrise and sunset
Please read CONTRIBUTING.md and CODE_OF_CONCUCT.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Kris Witalewski - Initial work - @witalewski
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details