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:
parent
a83aadbb53
commit
93a2017713
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
# hyprfreeze
|
# hyprfreeze
|
||||||
[![basher install](https://www.basher.it/assets/logo/basher_install.svg)](https://www.basher.it/package/)
|
[![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
|
Hyprfreeze is a utility to suspend a game process (and other programs) on Wayland
|
||||||
Hyprland.
|
|
||||||
|
|
||||||
https://github.com/Zerodya/hyprfreeze/assets/73220426/541318e2-441a-485a-91c5-f58d4f65926a
|
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).
|
Hyprfreeze is available in [AUR](https://aur.archlinux.org/packages/hyprfreeze-git).
|
||||||
|
|
||||||
### Dependencies
|
### 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
|
- `jq` to parse json
|
||||||
- `psmisc` contains 'pstree' which is required to list child processes
|
- `psmisc` contains 'pstree' which is required to list child processes
|
||||||
### Optional
|
### Optional
|
||||||
|
@ -39,7 +38,7 @@ ln -s $(pwd)/Hyprfreeze/hyprfreeze $HOME/.local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## 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
|
```bash
|
||||||
# ~/.config/hypr/hyprland.conf
|
# ~/.config/hypr/hyprland.conf
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue