1
0
Fork 1
mirror of https://github.com/Zerodya/hyprfreeze.git synced 2024-09-19 15:33:20 +02:00
Utility to suspend a game process (and other programs) in Hyprland.
Find a file
2023-09-02 18:58:22 +02:00
hyprfreeze First commit 2023-09-02 18:58:22 +02:00
README.md First commit 2023-09-02 18:58:22 +02:00

hyprfreeze

Simple bash script to pause a game process in Hyprland, allowing you to resume it later. Useful to:

  • Pause games during unskippable cutscenes and similar scenarios
  • Save system resources (CPU and GPU are free, the process is saved in RAM)

(Also works for any other program; pauses the current active window)

Usage

Make the script executable, then in your Hyprland config add a bind to the script e.g. :

bind = $mainMod, PAUSE, exec, ~/scripts/hyprfreeze