Toggle + Location Agnostic Setup Link to heading
Create/edit the file ~/.config/redshift.conf
, set temp-day and temp-night to the same value. lat and lon can be set randomly as it doesn’t matter. Example:
[redshift]
temp-day=3500
temp-night=3500
fade=0
transition=0
location-provider=manual
[manual]
lat=48.864716
lon=2.349014
Set startup to run redshift
. Enable toggle with pkill -USR1 '^redshift$'
, bind it to a hotkey.
Note: the path .config/redshift/redshift.conf
does not work in Ubuntu.
Manual Usage Link to heading
With Redshift, you can set brightness level lower than the minumum.
-O
Temperature level (lower = warmer, higher = cooler)-b
Brightness level (0 - 1)
redshift -oP -O 3500 -b .5
Note that calling xrandr on its own will cancel any redshift effect. The -P
option of redshift also resets the screen brightness and color instead of incrementally superimposing adjustments.
Hotkey Binding Link to heading
https://github.com/jchai01/tempcolor
Usage example:
- bind
tempcolor -inc 10
tosuper + shift + {
- bind
tempcolor -dec 10
tosuper + shift + }
- bind
tempcolor -binc .1
tosuper + ]
- bind
tempcolor -bdec .1
tosuper + [