this post was submitted on 27 Aug 2024
29 points (100.0% liked)
Linux Gaming
15776 readers
23 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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) thatfor_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.
Thank you, I will add this to my Sway config (and change it for Hyprland as well).