Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sdushantha/svart
Change between dark/light mode depending on the ambient light intensity
https://github.com/sdushantha/svart
Last synced: 9 days ago
JSON representation
Change between dark/light mode depending on the ambient light intensity
- Host: GitHub
- URL: https://github.com/sdushantha/svart
- Owner: sdushantha
- License: mit
- Created: 2021-04-08T15:54:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T15:56:08.000Z (over 3 years ago)
- Last Synced: 2024-11-30T13:36:22.186Z (21 days ago)
- Language: Python
- Size: 7.67 MB
- Stars: 168
- Watchers: 7
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- starred - sdushantha/svart - Change between dark/light mode depending on the ambient light intensity (Python)
README
svart
Change between dark/light mode depending on the ambient light intensity
## Installation
### Install using `pip`
```console
$ python3 -m pip install --user svart
```### Install using `git`
```
$ git clone [email protected]:sdushantha/svart.git
$ cd svart
$ python3 setup.py install
```## Usage
```console
$ svart --help
usage: svart [options]positional arguments:
ambient Dark mode when ambient light reaches this level (default: 1,100,000) (commas are not needed)optional arguments:
-h, --help show this help message and exit
--verbose, -v, --debug, -d
Show some information that might be useful during debugging
--timeout TIMEOUT, -t TIMEOUT
Seconds between each check of the ambient level (default: 0)
--version Show version number
```