This guide shows how to create a GNOME Shell extension that automatically blocks screenshot notifications.
mkdir -p ~/.local/share/gnome-shell/extensions/nuke-screenshots@example.com
cd ~/.local/share/gnome-shell/extensions/nuke-screenshots@example.com