According to man, $XDG_XXX_DIR variables are valid, but as for code and practice, $XDG_XXX_HOME are correct.