blob: adb9b1470074a343b222bee50c8371c8ddf6d5fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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/).
## Installation
Precompiled binaries are [available](https://github.com/amir/sctd/releases).
If you're an **Arch Linux** user, then you can install sctd from the official repos:
```
$ pacman -S sctd
```
## Usage
### Set latitude and longitude
```bash
$ sctd --latitude 53.3498 --longitude -6.2603
```
### Reset
```bash
$ sctd --reset
```
Executing `sctd` in `.xinitrc` is an easy way to start it with `startx`.
|