You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
I'm wondering if it would be possible to manipulate the config-ini.c file so that the redshift.conf file is read from the proper locations, per the XDG base directory specification.
If I'm reading this correctly, it appears that the config is read from the root of XDG_CONFIG_HOME folder, and not XDG_CONFIG_HOME/redshift, as it should per the specification. Is there any way this can be adjusted? This is especially important since the redshift directory already exists due to the somewhat recent addition of hook functionality.
TL;DR:$XDG_CONFIG_HOME/redshift.conf should instead be $XDG_CONFIG_HOME/redshift/redshift.conf.
Hi there,
I'm wondering if it would be possible to manipulate the config-ini.c file so that the
redshift.conffile is read from the proper locations, per the XDG base directory specification.https://github.com/jonls/redshift/blob/91e1d30a6f8f37e8a20575ac5e04dd0228080783/src/config-ini.c#L64-L68
If I'm reading this correctly, it appears that the config is read from the root of
XDG_CONFIG_HOMEfolder, and notXDG_CONFIG_HOME/redshift, as it should per the specification. Is there any way this can be adjusted? This is especially important since theredshiftdirectory already exists due to the somewhat recent addition of hook functionality.TL;DR:
$XDG_CONFIG_HOME/redshift.confshould instead be$XDG_CONFIG_HOME/redshift/redshift.conf.Thanks for considering.