I accidentally deleted my whole vault home dir because I'm stupid, with all my important passwords, keys, etc.
I was looking for ways to fix it and found out that with qubes by default keeps snapshots from the last shutdowns of each vm, at least for the private partition. I just reverted and it was fine. The end.
https://www.qubes-os.org/doc/volume-backup-revert/This is just a PSA i guess. I never knew qubes was good for keeping your data safe from yourself even. Try it if you haven't used it