Automatically turn off Plasma Desktop effects when launching a Steam game?
Title. Turning off the fancy effects (which can be done with Alt+Shift+F12) improves performance slightly, but having to toggle them on and off every time I start a game is... Y'know. A thing.
I was wondering if there was a way to automate it, like game opens -> they turn off, game process ends -> they turn back on
you can create a application or window rule via the game's window operation menu's "more" submenu (can use the equivilant shortcut if full screen or no border)
once you open the dialog, the thing you'd be looking to add is "block compositing" set to "force".
it will automatically turn compositing back on once the process is closed