assume default values if xdg dirs not set

This commit is contained in:
Luke Smith
2020-04-08 17:21:40 -04:00
parent 2c06dd36c6
commit 422d106fba
32 changed files with 86 additions and 91 deletions

View File

@@ -1,16 +1,11 @@
##############################################################################
## This is the example configuration file. Copy it to $HOME/.ncmpcpp/config ##
## or $XDG_CONFIG_HOME/ncmpcpp/config and set up your preferences. ##
##############################################################################
#
ncmpcpp_directory = $XDG_CONFIG_HOME/ncmpcpp
ncmpcpp_directory = ${XDG_CONFIG_HOME:$HOME/.config}/ncmpcpp
#
##
## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other
## MPD clients (eg. ncmpc) also use that location.
##
#
lyrics_directory = $XDG_DATA_HOME/lyrics
lyrics_directory = ${XDG_DATA_HOME:$HOME/.local/share}/lyrics
#
##### connection settings #####
#