hyprfreeze - Pause a game process (or any other process) in Hyprland
hyprfreeze - Pause a game process (or any other process) in Hyprland
Pause and resume game/program process in Hyprland. Contribute to Zerodya/hyprfreeze development by creating an account on GitHub.
Hey all! If you do any gaming on Hyprland, you might be interested in hyprfreeze.
It's a very simple bash script I made to "freeze" a game process (or any other process) in Hyprland, which you may find useful to:
- Pause games during unpausable cutscenes
- Save system resources (CPU and GPU are free, the process is saved in RAM)
Should just work^^TM in most scenarios but my testings can only go so far and any feedback would be very appreciated.
You're viewing a single thread.
Does this mean I can pause online games?
/s
/us I'm assuming this is like pressing Ctrl+Z in a Terminal window, and then fg to unpause.
5 0 ReplyHaha, yes! Ctrl+Z sends a TSPT signal to a terminal process, while this script sends a STOP signal to every process in a game's process tree. Both get resumed with a SIGCONT so they're kinda similar.
6 0 Reply