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

Change notification timeout to 5 seconds

This commit is contained in:
Nicola 2023-12-06 14:35:47 +01:00 committed by GitHub
parent a1a0fa255c
commit b8f52b737b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -36,14 +36,14 @@ bind = , PAUSE, exec, hyprfreeze -a
### Available flags
```
-h, --help show help message
-a, --active pause/resume active window
-p, --pid pause/resume by process id
-n, --name pause/resume by process name/command
-r, --prop pause/resume by clicking on window
-a, --active suspend/resume active window
-p, --pid suspend/resume by process id
-n, --name suspend/resume by process name/command
-r, --prop suspend/resume by clicking on window
-s, --silent don't send notification
-t, --notif-timeout notification timeout in milliseconds (default 3000)
-t, --notif-timeout notification timeout in milliseconds (default 5000)
--info show information about the process
--dry-run doesn't actually pause/resume a process, useful with --info
--dry-run doesn't actually suspend/resume a process, useful with --info
```
### Examples:
```

View file

@ -13,7 +13,7 @@ Options:
-n, --name suspend/resume by process name/command
-r, --prop suspend/resume by clicking on window
-s, --silent don't send notification
-t, --notif-timeout notification timeout in milliseconds (default 3000)
-t, --notif-timeout notification timeout in milliseconds (default 5000)
--info show information about the process
--dry-run doesn't actually suspend/resume a process, useful with --info
EOF
@ -178,7 +178,7 @@ function main() {
}
SILENT=0
NOTIF_TIMEOUT=3000
NOTIF_TIMEOUT=5000
INFO=0
DRYRUN=0