How to change .fastai from $HOME to $XDG_CONFIG_HOME?

Hello everyone,
Currently .fastai directory is created in home directory($HOME). Changing the config.yml, I’m able to change the destination of the archive, data, model. However, I’d like to move the default path of .fastai to $HOME/.config that is $XDG_CONFIG_HOME.

I’ve tried the simplest possible change so far - to edit the config variable in the external.py file located in /python3.8/site-packages/fastai/data/. No effect so far.

Has anyone done this before? Thanks.