mirror of
https://github.com/Zerodya/hyprfreeze.git
synced 2024-11-10 01:18:49 +01:00
Update README.md
This commit is contained in:
parent
c036f52e6b
commit
677c6cb6df
1 changed files with 5 additions and 8 deletions
13
README.md
13
README.md
|
@ -26,18 +26,15 @@ Hyprfreeze is available in [AUR](https://aur.archlinux.org/packages/hyprfreeze-g
|
||||||
### Manual
|
### Manual
|
||||||
Clone this repo and symlink the `hyprfreeze` script to a directory in your `PATH`:
|
Clone this repo and symlink the `hyprfreeze` script to a directory in your `PATH`:
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/Zerodya/hyprfreeze.git Hyprfreeze
|
git clone https://github.com/Zerodya/hyprfreeze.git Hyprfreeze
|
||||||
$ ln -s $(pwd)/Hyprfreeze/hyprfreeze $HOME/.local/bin
|
ln -s $(pwd)/Hyprfreeze/hyprfreeze $HOME/.local/bin
|
||||||
$ chmod +x Hyprfreeze/hyprfreeze
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Add a bind in your Hyprland config to pause the current active window:
|
Add a bind in your Hyprland config to pause the current active window:
|
||||||
```
|
```bash
|
||||||
# ~/.config/hypr/hyprland.conf
|
# ~/.config/hypr/hyprland.conf
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
# Toggle freeze on active window
|
# Toggle freeze on active window
|
||||||
bind = , PAUSE, exec, hyprfreeze -a
|
bind = , PAUSE, exec, hyprfreeze -a
|
||||||
```
|
```
|
||||||
|
@ -57,11 +54,11 @@ bind = , PAUSE, exec, hyprfreeze -a
|
||||||
--debug enable debug mode
|
--debug enable debug mode
|
||||||
```
|
```
|
||||||
### Examples:
|
### Examples:
|
||||||
```
|
```bash
|
||||||
# Pause game by process name
|
# Pause game by process name
|
||||||
hyprfreeze -n eldenring.exe
|
hyprfreeze -n eldenring.exe
|
||||||
```
|
```
|
||||||
```
|
```bash
|
||||||
# Get info about a process by clicking on its window, without suspending it
|
# Get info about a process by clicking on its window, without suspending it
|
||||||
hyprfreeze -r --info --dry-run
|
hyprfreeze -r --info --dry-run
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue