Skip to content

Instantly share code, notes, and snippets.

@Rajssss
Last active June 9, 2021 06:26
Show Gist options
  • Save Rajssss/a67abb744b5b394f994e476d607beb2a to your computer and use it in GitHub Desktop.
Save Rajssss/a67abb744b5b394f994e476d607beb2a to your computer and use it in GitHub Desktop.
Redshift linux multi monitor config for no identical monitor with different color temp and brightness. Requires two conf files.
$ redshift -c ~/.config/redshift.conf
; Primary Monitor
; Global settings
[redshift]
temp-day=4200K
temp-night=3900k
transition=1
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
;location-provider=geoclue
location-provider=manual
adjustment-method=randr
;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=22.806
lon=86.2029
[randr]
crtc=0
$ redshift -c ~/.config/redshift_external.conf
; Global settings
[redshift]
temp-day=4200K
temp-night=3900k
transition=1
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
;location-provider=geoclue
location-provider=manual
adjustment-method=randr
;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=22.806
lon=86.2029
; In this example screen 1 is adjusted by vidmode. Note
; that the numbering starts from 0, so this is actually
; the second screen.
[randr]
crtc=1
[redshift]
temp-day=3600K
temp-night=3500k
brightness=0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment