commit 2f6dac0e93636b16a27fdf9a4766a7e5521e178c
parent ccbb40ffc4b6bc589baf4dabf4352479a8cf6513
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 15 Aug 2019 18:53:05 +0200
Move mpd files to XDG_CONFIG_DIR
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf
@@ -17,7 +17,7 @@ music_directory		"~/music"
 # playlist files not created by the server but only if they are in the MPD
 # format. This setting defaults to playlist saving being disabled.
 #
-playlist_directory		"~/.mpd/playlists"
+playlist_directory		"~/.config/mpd/playlists"
 #
 # This setting sets the location of the MPD database. This file is used to
 # load the database at server start up and store the database while the 
@@ -25,7 +25,7 @@ playlist_directory		"~/.mpd/playlists"
 # MPD to accept files over ipc socket (using file:// protocol) or streaming
 # files over an accepted protocol.
 #
-db_file			"~/.mpd/database"
+db_file			"~/.config/mpd/database"
 # 
 # These settings are the locations for the daemon log files for the daemon.
 # These logs are great for troubleshooting, depending on your log_level
@@ -34,25 +34,25 @@ db_file			"~/.mpd/database"
 # The special value "syslog" makes MPD use the local syslog daemon. This
 # setting defaults to logging to syslog, otherwise logging is disabled.
 #
-log_file			"~/.mpd/log"
+log_file			"~/.config/mpd/log"
 #
 # This setting sets the location of the file which stores the process ID
 # for use of mpd --kill and some init scripts. This setting is disabled by
 # default and the pid file will not be stored.
 #
-pid_file			"~/.mpd/pid"
+pid_file			"~/.config/mpd/pid"
 #
 # This setting sets the location of the file which contains information about
 # most variables to get MPD back into the same general shape it was in before
 # it was brought down. This setting is disabled by default and the server 
 # state will be reset on server start up.
 #
-state_file			"~/.mpd/state"
+state_file			"~/.config/mpd/state"
 #
 # The location of the sticker database.  This is a database which
 # manages dynamic information attached to songs.
 #
-sticker_file			"~/.mpd/sticker.sql"
+sticker_file			"~/.config/mpd/sticker.sql"
 #
 ###############################################################################
 
@@ -82,7 +82,7 @@ sticker_file			"~/.mpd/sticker.sql"
 bind_to_address		"localhost"
 #
 # And for Unix Socket
-#bind_to_address		"~/.mpd/socket"
+#bind_to_address		"~/.config/mpd/socket"
 #
 # This setting is the TCP port that is desired for the daemon to get assigned
 # to.