-
-
Save bcomnes/4243805 to your computer and use it in GitHub Desktop.
; Global settings | |
[redshift] | |
temp-day=6500K | |
temp-night=5000 | |
transition=1 | |
;gamma=0.8:0.7:0.8 | |
gamma=1.000:1.000:1.000 | |
location-provider=geoclue | |
;location-provider=manual | |
adjustment-method=vidmode | |
;brightness=1.0:0.5 | |
; The location provider and adjustment method settings | |
; are in their own sections. | |
; This is an example lat long for Portland, OR | |
[manual] | |
lat=45.53068 | |
lon=-122.68317 | |
; In this example screen 1 is adjusted by vidmode. Note | |
; that the numbering starts from 0, so this is actually | |
; the second screen. | |
;[vidmode] | |
;screen=1 |
@Mario-paul Feel free to share a link!
@Mario-paul Feel free to share a link!
Sure! It works automatically using geoclue2, randr adjustment, and 5800k day 2700k night with smooth transition. Screen brightness and gamma adjustments are disabled but can be added by uncommenting the relevant settings. brightness has separate day and night options too as of a recent-ish redshift update.
enjoy!
https://gist.github.com/Mario-paul/b98d6215282478adf6059cde3956b5ca
Thanks! =)
Here is another config file:
[redshift] temp-day=5800 temp-night=3500 brightness-day=1 brightness-night=0.72 dawn-time=5:00-6:00 dusk-time=19:30-20:00 gamma=0.750:0.750:0.750 transition=1 adjustment-method=randr location-provider=manual [manual] lat=%yourLocation% lon=%yourLocation%
thx after many attempts it works eventually
Should be noted this gist is ancient at this point. Glad there is still useful info though.
bcomnes, thank you very much for your post here. It worked like a charm for me after I entered my proper lat and long info. Take care and thanks a million. THanks to you, I will sleep better tonight having been shielded from the short wavelength light this evening! Cheers! Pete.
Thanks to this file I remembered github gists were a thing. Made one of my own with the updated redshift config file settings and now I can retrieve them for new installations/distro hopping. Thanks @bcomnes! also, like @zilvins said, 2700k is perfect at night. not too blue, not too yellow.