I've noticed that I get very distracted by motion in my peripheral vision, but not by static images. So I can use a second monitor for things like documentation, but not something like Slack that shows new messages, animated gifs/emojis, etc.
I've also configured my text editor to be very "static": when I type, the only things that can happen are the cursor moves, or text is inserted. I have to manually trigger things like the autocompletion popup, LSP checks, or highlighting the symbol under the cursor.