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.
Are your games all wine/proton games? For me in sway they all have the same class followed by some uid thing:
] > swaymsg -t get_tree
[...]
#92: output "DP-5"
#70: workspace "21"
#126: con "Automobilista 2" (xwayland, pid: 171976, instance: "steam_app_1066890", class: "steam_app_1066890", X11 window: 0x5400001)
Or gamescope:
] > swaymsg -t get_tree
[...]
#92: output "DP-5"
#70: workspace "21"
#124: con "Assetto Corsa" (xdg_shell, pid: 170694, app_id: "gamescope")
EDIT: Also allow_tearing was added to master 3 weeks ago, so this is definitely not in the current release. FYI to anyone who might try it.
The pricing is reasonable though
Nextcloud is free unless you are a business choosing to pay for support or you pay a hosting provider. It costs nothing to run it on your own hardware. Also if you are interested in self hosting and would like to really put in the work to understand it the easiest place to start in my opinion is the docker examples, especially the docker-compose examples.
That said, make sure you have backups. Nextcloud is a massively complex application which does all the basic stuff pretty well, but you are the responsible person if it breaks. It’s far far from set-it-and-forget-it software.
What display manager do you use? There’s a very very short list of ones that support wayland sessions: https://wiki.archlinux.org/title/Wayland#Display_managers . And some of those don’t display themselves using wayland, they can only launch sessions.
Probably? Honestly I just read the sections of the docs that were relevant to what I needed and clicked buttons until things worked. Tutorials are dangerous because the moment they are published they are out of date, unless the author goes back and updates it regularly which is pretty rare, or impossible if it’s something like a youtube video.
Anyway it’s a GUI application with lots of tool tips and all that, it’s not difficult to use.
Bottles (https://usebottles.com/) is what you’re looking for, sandboxing is one of it’s primary features. It can use lutris prefixes too if you need them.
EDIT: It’s only sandboxed if you use the flatpak, just FYI.
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)?