Classic confinement for autotrash

I read docs and can’t find any way to change $HOME environment var with a script as @jdstrand said at runtime. I can set it in build time but not in runtime.