Found the post, for some reason I had a lot of trouble finding it when I was looking around before posting.
@electricprism maybe this will help you as it is Linux distro-agnostic. I have not tested on Wayland, though. For good measure I’ll add a comment on the original post.
I hope this could help anyone else out who can take advantage of this feature, or turn it off if they are worried about the feds after them.