Modern convention is to use the
XDG_* environment variables, this usually leads to something saved in ~/.local/share/ instead of ~/.whatever.
Sadly many programs don't do that and still use ~/. Someone should've arm twisted something like that spec down unix programmers throats 20 years ago. So you're basically toast.
__________________
My
Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.