Indeed. However it’s necessary to use that command on both the main PID and all its child processes, otherwise you will run into issues like the game video stopping but the game logic still running in the background.
This is just a tool to automate finding the pid (via hyprctl
or other ways) and correctly suspending it.
Wow, I wish I knew this workaround during my early gameplay lol.