Ah, I should have been more clear. The CRITERIA
section of the sway documentation states that class matches support regex, so instead of using a *
as you did in your example you’d use a regex any .*
. So I think (untested of course) that for_window [class="steam_app_.*"] allow_tearing yes
should work.
The comment in the code for allow_tearing notes that it must be enabled on the output as well. Here is the relevant output documentation. There are several other notes/recommendations there as well you should probably pay attention to.
works for me both on my archlinux machine and my steamdeck with steam and non-steam games. I’ve even played NFSU2 with it =] . I don’t think it required any more configuration than just pairing for me, no special drivers or tools. Maybe it needs a firmware update (I don’t know if that’s a thing, just a thought)?