Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

simple daemon for sct (set color temperature)

License

NotificationsYou must be signed in to change notification settings

eylles/sct-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

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

[8]ページ先頭

©2009-2025 Movatter.jp