At this moment 86ce25fbd4/xsettingsd.1
and 86ce25fbd4/README.md
mention only ~/.xsettingsd
.
If I understand
and
Line 56 in 86ce25f
TEST(CommonTest, GetDefaultConfigFilePath) {
|
correctly, the effective config file paths are
~/.xsettingsd
${XDG_CONFIG_HOME}/xsettingsd/xsettingsd.conf
${XDG_CONFIG_DIRS}/xsettingsd/xsettingsd.conf
and if ${XDG_CONFIG_HOME}
and ${XDG_CONFIG_DIRS}
are not set the paths are
~/.xsettingsd
~/.config/xsettingsd/xsettingsd.conf
/etc/xsettingsd/xsettingsd.conf
@derat Could you please document it? It's impossible to suggest if the path should be "~/.config/xsettingsd/config", or "~/.config/xsettingsd.conf", etc. without reading the source code.
My use case: I've noted "~/.config/xsettingsd/xsettingsd.conf" in the Arch Wiki article and was very surprised that I've not seen that in the man.