- Notifications
You must be signed in to change notification settings - Fork0
simple daemon for sct (set color temperature)
License
eylles/sct-daemon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
a simple daemon for sct
taken fromlobste.rsand thedotfiles ofthe author, some small modifications for more flexibility.
configuration is simple as we only really care about 3 variables, INTERVAL whichdetermines 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 thetime is assumed to be in seconds, the color temperature through the day isdetermined by two variables, TEMP_MIN and TEMP_MAX, the former will be the temperatureat 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 signalsHUP
to reload it's config andUSR1
to togglebetween theTEMP_MAX
value and the calculated corresponding temperature.
sct or xsct should be in the repos of most distros, in the case of linux xsctis 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 thissctdrc
TEMP_MIN=4500TEMP_MAX=6500INTERVAL=60
About
simple daemon for sct (set color temperature)