Hello! You may be interested in Hyprfreeze if you game in Hyprland. It’s a small script that lets you suspend games just like gaming consoles do.
I always find it annoying when I’m playing and I quickly need to leave my desk or talk to someone, only to die to some random enemy in Elden Ring or to miss (unpausable) cutscenes of a game.
I’ve built this script to prevent that from happening and over time it’s reached a point where I find it robust enough and want to share it with others. Any feedback is always appreciated.
Github repo: https://github.com/Zerodya/hyprfreeze
Wow, I wish I knew this workaround during my early gameplay lol.