use `xdg-basedir`

https://github.com/sindresorhus/xdg-basedir