id = "redshift" name = "Redshift" homepage = "http://jonls.dk/redshift/" description = "Redshift adjusts the color temperature of your screen according to your surroundings." executables = ["redshift", "redshift-gtk"] [dotfiles] # src/config-ini.c, the search it runs when no --config is given, in order: # # $XDG_CONFIG_HOME/redshift/redshift.conf # $XDG_CONFIG_HOME/redshift.conf ("Fall back to formerly used path") # %localappdata%\redshift.conf (#ifdef _WIN32) # $HOME/.config/redshift/redshift.conf # $HOME/.config/redshift.conf (same fallback again) # # and the comment above it says so in words: "the configuration file is searched # for in the directories specified by the XDG Base Directory Specification … # On windows platforms the %localappdata% is used in place of XDG_CONFIG_HOME." # # Reading $XDG_CONFIG_HOME with ~/.config as the fallback is what [configHome] # means. The Windows location is a different variable — %LOCALAPPDATA%, not the # %APPDATA% that [configHome] resolves to there — so it is written out. paths = [ "[configHome]/redshift/redshift.conf", "[configHome]/redshift.conf", "%LOCALAPPDATA%/redshift.conf", ] exclude = [] secret = [] # redshift.conf.sample, above the [randr] section: "In this example, randr is # configured to adjust only screen 0. Note that the numbering starts from 0, so # this is actually the first screen. If this option is not specified, Redshift # will try to adjust _all_ screens." Which display index to gamma-correct is a # fact about this machine's monitors. The temperatures, brightness, gamma and # location above it are the user's preference and travel with them. [[dotfiles.machine_lines]] file = [ "[configHome]/redshift/redshift.conf", "[configHome]/redshift.conf", "%LOCALAPPDATA%/redshift.conf", ] match = { prefix = ["screen"] }