Quantcast
Channel: Feed of "derat/xsettingsd"
Viewing all articles
Browse latest Browse all 51

Andrei Korshikov opened issue derat/xsettingsd#35

$
0
0

At this moment 86ce25fbd4/xsettingsd.1 and 86ce25fbd4/README.md mention only ~/.xsettingsd.

If I understand

Line 62 in 86ce25f
vector<string> GetDefaultConfigFilePaths() {

and

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.


Viewing all articles
Browse latest Browse all 51

Trending Articles