XDG_CONFIG_HOME for classic snaps

use a command-chain wrapper and follow:

to set XDG_CONFIG_HOME pointing to the real home yourself.

by default snaps use the per-app homedir by design (so the app does not break if the home interface gets disconnected for some reason (i.e. paranoid admins or whatnot) in strict snaps and snap rollback/refresh can use per-version configurations …

it is indeed up to you to make sure rollback/refresh changes of incompatible config options between versions are handled by the app then…