[PATCH] Use XDG base directories instead of $HOME