diff options
| author | Amir Saeid <amir@glgdgt.com> | 2020-03-15 20:22:22 +0000 |
|---|---|---|
| committer | Amir Saeid <amir@glgdgt.com> | 2020-03-15 20:22:22 +0000 |
| commit | 742aaa2a08a9e8837edf47bdc107d9d535dbf45a (patch) | |
| tree | ed19be8df0c3a165beffcb98ea7b65fdbcb7f9fd /README.md | |
| parent | ec54cbd0528a146ac346aec425909f7230bf8270 (diff) | |
Add command line arguments
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ # sct - set color temperature daemon Based on [sct](https://flak.tedunangst.com/post/sct-set-color-temperature) by Ted Unangst. Can be run as a daemon and calculates sunrise and sunset based on geo-pos lat/lon and sets the temperature accordingly. + +## Usage + +### Set latitude and longitude +```bash +$ cargo run -- --latitude 53.3498 --longitude 6.2603 +``` + +### Reset +```bash +$ cargo run -- --reset +``` |
