Skip to content

eylles/sct-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCTD

a simple daemon for sct

taken from lobste.rs and the dotfiles of the author, some small modifications for more flexibility.

configuration is simple as we only really care about 3 variables, INTERVAL which determines how often the screen temperature is adjusted default is one minute, a suffix can be given for seconds (s), minutes (m) or hours (h), otherwise the time is assumed to be in seconds, the color temperature through the day is determined by two variables, TEMP_MIN and TEMP_MAX, the former will be the temperature at midnight, and the later will be the temperature at noon.

arguments can be passed to produce debug output or run as a one shot.

sctd can handle the signals HUP to reload it's config and USR1 to toggle between the TEMP_MAX value and the calculated corresponding temperature.

sct or xsct should be in the repos of most distros, in the case of linux xsct is reccomended as it is the actively maintained port.

sct the freebsd port of sct

xsct reccomended on linux

go-sct a go port of sct, provides support fot wayland (waysct)

a config that mimics the defaults would look like this sctdrc

TEMP_MIN=4500
TEMP_MAX=6500
INTERVAL=60