You can download existing auto-screenshot-tools or even setup a cron to take them every 2 seconds. Maybe it could reduce your OCD by knowing it is always being done for you?
It does! I ran into this issue (disk filling up with screenshots) and realized that the optimal compression solution already existed and was called a video file, so set up a script to run on cron to convert the folder full of pngs to a mp4.
What size differences are we talking about here? I took one screenshot (+webcam shot) once every hour for three years and it takes up around 5gb for 14,000 images. I believe I compressed it slightly some time ago.