config: Use path.expand_path and $XDG_CONFIG_DIR instead of hardcoded .config