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
KDE
KDE disable compositor
qdbus-qt5 org.kde.KWin /Compositor org.kde.kwin.Compositing.suspend
KDE enable compositor
qdbus-qt5 org.kde.KWin /Compositor org.kde.kwin.Compositing.resume
Would need to be updated for qt6.
Used this before switching to Wayland, which has provided a far superior gaming and desktop experience the past year.