On Ubuntu (and probably other distros as well) it’s as easy as going to Settings>Accessibility>Reduce animations and then turning it ON.
This seems to apply to most applications, like firefox, discord and spotify.
Is there any way to do this on swaywm? I thought maybe it could be set with an environment variable, but couldn’t find any. My linux knowledge ain’t the best.
This is my system: https://imgur.com/MhJe9qg
It can also disable animation in the web browser. Some website can see this setting and disable some stuffs.