Using @DomT4 's changes.

https://github.com/DomT4/homebrew-headonly/blob/redshift/redshift.rb