Fellas, I'm at my wit's end with this one.
I'm trying to set a general rule for window opacity in sway, and then have a few programs excepted from it.
Back on i3 with picom, I could do this pretty easily by setting activeOpacity to 0.9, for example, and then specifying additional opacityRules like this:
I guess I should have written the post a bit more clearly.
I’ve got the for_window part, it’s just that after I set the opacity for all windows app_id=.*, the following lines of the config cannot override that for the specific windows I want different opacities for.
My guess is that sway checks sets the opacity when the window open, so when the first rule matches (app_id=.*) it skips all others, so maybe try putting the other 2 rules above the first one?
Sorry if my comment is incomprehensible, I've just woken up.