x/build/maintner: load tokens from XDG config dir #21087
But the XDG spec says that $HOME/.config is the default if it's not specified. So I wouldn't say that this bug is only about if XDG_CONFIG_HOME is set.
I'd just also include the config dir in the search, but keep the existing one.
I've written the XDG search stuff a dozen times.