pub fn config_dir() -> Option<PathBuf>
Returns $XDG_CONFIG_HOME, $HOME/.config, or None.
$XDG_CONFIG_HOME
$HOME/.config
None