blob: edf963c2cd7d8877746984eb9e34834364d2ca5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# sctd - set color temperature daemon
Based on [sct](https://flak.tedunangst.com/post/sct-set-color-temperature) by Ted Unangst. Calculates sunrise and sunset based on geo-pos lat/lon and sets the temperature accordingly. Can be left running, in which case transitions between tempratures. Transition logic is based on [redshift](https://github.com/jonls/redshift/).
## Usage
### Set latitude and longitude
```bash
$ cargo run -- --latitude 53.3498 --longitude -6.2603
```
### Reset
```bash
$ cargo run -- --reset
```
|