|
NAMEredshift - set color temperature of display according to time of daySYNOPSISredshift [-l LAT:LON | -l PROVIDER :OPTIONS] [-t DAY:NIGHT] [OPTIONS...]DESCRIPTIONredshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less or reduce the risk for delayed sleep phase syndrome if you are working in front of the screen at night.The color temperature is set according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt over a period of about an hour. At night the color temperature should be set to match the lamps in your room. This is typically a low temperature at around 3000K-4000K (default is 4500K). During the day, the color temperature should match the light from outside, typically around 5500K-6500K (default is 6500K). The light has a higher temperature on an overcast day. In addition to the command-line tool redshift, the GUI redshift-gtk provides an alternative interface that shows up as a notification icon in the desktop environment. OPTIONS
The neutral temperature is 6500K. Using this value will not change the color temperature of the display. Setting the color temperature to a value higher than this results in more blue light, and setting a lower value will result in more red light. Default temperature values:
CONFIGURATION FILEA configuration file with the name redshift.conf can optionally be placed in ~/.config/. The file has standard INI format. General program options are placed under the redshift header, while options for location providers and adjustment methods are placed under a header with the name of that provider or method. General options are:
Options for location providers and adjustment methods can be found in the help output of the providers and methods. EXAMPLEExample for Copenhagen, Denmark:
An example configuration file with the same effect as the above command line:
HOOKSExecutables (e.g. scripts) placed in folder ~/.config/redshift/hooks will be run when a certain event happens. The first parameter to the script indicates the event and further parameters may indicate more details about the event. The event period-changed is indicated when the period changes (night, daytime, transition). The second parameter is the old period and the third is the new period. The event is also signaled when Redshift starts up with the old period set to none. Any dotfiles in the folder are skipped.A simple script to handle these events can be written like this:
AUTHORredshift was written by Jon Lund Steffensen <jonlst@gmail.com>.Both redshift and this manual page are released under the GNU General Public License, version 3. BUGSPlease report bugs to <https://github.com/jonls/redshift/issues>KNOWN ISSUESredshift will not affect the color of your cursor when your graphics driver is configured to use hardware cursors. Some graphics drivers have an option to disable hardware cursors. Visit the GSP FreeBSD Man Page Interface. |