1
0
Fork 1
mirror of https://github.com/Zerodya/hyprfreeze.git synced 2024-11-10 01:18:49 +01:00

docs: mention hyprland + sway

This commit is contained in:
alterNERDtive 2024-02-11 17:56:12 +01:00
parent a83aadbb53
commit 93a2017713
Signed by: alterNERDtive
GPG key ID: 547787A4FE6533F1

View file

@ -1,7 +1,6 @@
# hyprfreeze
[![basher install](https://www.basher.it/assets/logo/basher_install.svg)](https://www.basher.it/package/)
Hyprfreeze is a utility to suspend a game process (and other programs) in
Hyprland.
Hyprfreeze is a utility to suspend a game process (and other programs) on Wayland
https://github.com/Zerodya/hyprfreeze/assets/73220426/541318e2-441a-485a-91c5-f58d4f65926a
@ -17,7 +16,7 @@ https://github.com/Zerodya/hyprfreeze/assets/73220426/541318e2-441a-485a-91c5-f5
Hyprfreeze is available in [AUR](https://aur.archlinux.org/packages/hyprfreeze-git).
### Dependencies
- `hyprland` to get the pid of the active window with hyprctl
- a compatible window manager (`hyprland` or `sway`) to get the PID of the active window
- `jq` to parse json
- `psmisc` contains 'pstree' which is required to list child processes
### Optional
@ -39,7 +38,7 @@ ln -s $(pwd)/Hyprfreeze/hyprfreeze $HOME/.local/bin
```
## Usage
Add a bind in your Hyprland config to pause the current active window:
Add a bind in your Hyprland or Sway config to pause the current active window:
```bash
# ~/.config/hypr/hyprland.conf
...