MCPcopy Index your code
hub / github.com/amir/sctd

github.com/amir/sctd @0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.4.0 ↗ · + Follow
9 symbols 17 edges 5 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

sctd - set color temperature daemon

Based on sct 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.

Installation

Precompiled binaries are available.

Usage

Set latitude and longitude

$ sctd --latitude 53.3498 --longitude -6.2603

Reset

$ sctd --reset

Executing sctd in .xinitrc is an easy way to start it with startx.

Core symbols most depended-on inside this repo

avg
called by 2
src/lib.rs
set_temp
called by 1
src/lib.rs
reset_temp
called by 1
src/lib.rs
get_transition_progress_from_elevation
called by 1
src/lib.rs
get_temp
called by 1
src/lib.rs
set_temp
called by 1
src/platform/linux.rs
main
called by 1
src/bin/sctd.rs
set_temp
called by 0
src/platform/macos.rs

Shape

Function 8
Class 1

Languages

Rust100%

Modules by API surface

src/lib.rs6 symbols
src/platform/macos.rs1 symbols
src/platform/linux.rs1 symbols
src/bin/sctd.rs1 symbols

For agents

$ claude mcp add sctd \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact