From 843b7b6ffab2b8b0d80f300c3533d28cac137e13 Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Wed, 24 Jun 2020 19:54:32 +0100 Subject: Update README --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index edf963c..adb9b14 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,26 @@ 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 -$ cargo run -- --latitude 53.3498 --longitude -6.2603 +$ sctd --latitude 53.3498 --longitude -6.2603 ``` ### Reset ```bash -$ cargo run -- --reset +$ sctd --reset ``` + +Executing `sctd` in `.xinitrc` is an easy way to start it with `startx`. -- cgit v1.2.3