1
0
Fork 1
mirror of https://github.com/Zerodya/hyprfreeze.git synced 2024-09-19 23:43:18 +02:00
hyprfreeze/README.md

16 lines
610 B
Markdown
Raw Normal View History

2023-09-02 18:18:38 +02:00
# hyprfreeze
2023-09-02 18:58:22 +02:00
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
2023-10-08 20:01:10 +02:00
Make the script executable and add a bind in your Hyprland config:
2023-09-02 18:58:22 +02:00
```
bind = $mainMod, PAUSE, exec, ~/scripts/hyprfreeze
```
2023-10-08 20:01:10 +02:00
### Known issues
- Mouse input doesn't work inside Xorg/XWayland windows while a Wine/Proton game is paused
- Workaround: Run the game in gamescope