Skip to content

Instantly share code, notes, and snippets.

@shoaibi
Created June 25, 2015 22:04
Show Gist options
  • Select an option

  • Save shoaibi/d5c8d2a13ff489584694 to your computer and use it in GitHub Desktop.

Select an option

Save shoaibi/d5c8d2a13ff489584694 to your computer and use it in GitHub Desktop.
redshift.conf
; ~/.config/redshift.conf
; Global settings
[redshift]
temp-day=6500K
temp-night=5000
transition=0
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
location-provider=manual
adjustment-method=vidmode
brightness=0.8:0.5
; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'
; type 'redshift -l list' to see possible values
; The location provider settings are in a different section.
;location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values
; 'randr' is the preferred method, 'vidmode' is an older API
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
;adjustment-method=randr
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings
; e.g. 'redshift -l manual:help'
[manual]
lat=33.569839
lon=73.036125
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the second screen.
;[randr]
;screen=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment