Skip to content

explosion-mental/cotemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cotemp - set the Color Temperature

cotemp is a simple program that uses Xrandr to apply a color temperature and/or brightness on every screen, or by selecting one with -s flag, every 60 seconds (by default).

Depending on the hour and minute defined in a profile, it will switch to that profile using it's respective temperature and brightness.

Profiles are located in config.h.

Usage

With no arguments cotemp will start to run (forever).

cotemp [-dlv] [-s screen] [-c crtc] [-t temperature] [-b brightness] [-p profile]

For a more detail information read the man page.

Installation

Edit config.mk to match your local setup (cotemp is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install cotemp (if necessary as root):

make clean install

Credits