A mysterious '~' directory recently appeared inside my home directory (as in ~/~). Inside I found a single hidden directory .confit which contained a single directory chromium. Inside that ~/~/.confit/chromium directory were several of the same contents as ~/.config/chromium. I have been using Chromium for years and this is the first time I have seen this behavior. Has anyone else encountered this? I can delete the '~' directory but it comes back every time I launch Chromium. I wish I could identify exactly when it started, but I have already deleted it several times and I don't remember exactly when it first appeared. What determines where Chromium saves its config files? server-side settings? source code? I don't even know where to look. I'm running Arch Linux in case that matters.
Edit: Is it possible that the error could be in my configs for an Electron app rather than Chromium itself?
Edit: $CHROME_CONFIG_HOME is not set and I set $XDG_CONFIG_HOME to /home/(my username)/.config when I was first troubleshooting this issue. It didn't change anything.