diff options
author | Alexander Gehrke <crater@qwertyuiop.de> | 2013-08-07 16:08:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-07 18:22:27 +0200 |
commit | 87b732846388d3c4a2d755863df4328a6c08041e (patch) | |
tree | 7799988e59a800aeb2de278ce9fbfcb5ffe0b361 /doc/mpd.conf.5 | |
parent | 3f846cf6b86d0b9f0fe500b2a08d67672ed58169 (diff) | |
download | mpd-87b732846388d3c4a2d755863df4328a6c08041e.tar.gz mpd-87b732846388d3c4a2d755863df4328a6c08041e.tar.xz mpd-87b732846388d3c4a2d755863df4328a6c08041e.zip |
CommandLine.cxx: look for config file in XDG_CONFIG_HOME too
Look for "$XDG_CONFIG_HOME/mpd/mpd.conf", similar to where mpd looks
for the file under Windows.
Diffstat (limited to '')
-rw-r--r-- | doc/mpd.conf.5 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index 62f5565e1..d441c0d1b 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -3,8 +3,9 @@ mpd.conf \- Music Player Daemon configuration file .SH DESCRIPTION \fBmpd.conf\fP is the configuration file for mpd(1). If not specified on the -command line, MPD first searches for it at \fB~/.mpdconf\fP then at -\fB~/.mpd/mpd.conf\fP and then in \fB/etc/mpd.conf\fP. +command line, MPD first searches for it at \fB$XDG_CONFIG_HOME/mpd/mpd.conf\fP +then at \fB~/.mpdconf\fP then at \fB~/.mpd/mpd.conf\fP and then in +\fB/etc/mpd.conf\fP. Lines beginning with a "#" character are comments. All other non-empty lines specify parameters and their values. These lines contain the parameter name |