mirror of
https://github.com/Zerodya/hyprfreeze.git
synced 2024-11-09 17:08:49 +01:00
Change notification timeout to 5 seconds
This commit is contained in:
parent
a1a0fa255c
commit
b8f52b737b
2 changed files with 8 additions and 8 deletions
12
README.md
12
README.md
|
@ -36,14 +36,14 @@ bind = , PAUSE, exec, hyprfreeze -a
|
||||||
### Available flags
|
### Available flags
|
||||||
```
|
```
|
||||||
-h, --help show help message
|
-h, --help show help message
|
||||||
-a, --active pause/resume active window
|
-a, --active suspend/resume active window
|
||||||
-p, --pid pause/resume by process id
|
-p, --pid suspend/resume by process id
|
||||||
-n, --name pause/resume by process name/command
|
-n, --name suspend/resume by process name/command
|
||||||
-r, --prop pause/resume by clicking on window
|
-r, --prop suspend/resume by clicking on window
|
||||||
-s, --silent don't send notification
|
-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
|
--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:
|
### Examples:
|
||||||
```
|
```
|
||||||
|
|
|
@ -13,7 +13,7 @@ Options:
|
||||||
-n, --name suspend/resume by process name/command
|
-n, --name suspend/resume by process name/command
|
||||||
-r, --prop suspend/resume by clicking on window
|
-r, --prop suspend/resume by clicking on window
|
||||||
-s, --silent don't send notification
|
-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
|
--info show information about the process
|
||||||
--dry-run doesn't actually suspend/resume a process, useful with --info
|
--dry-run doesn't actually suspend/resume a process, useful with --info
|
||||||
EOF
|
EOF
|
||||||
|
@ -178,7 +178,7 @@ function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
SILENT=0
|
SILENT=0
|
||||||
NOTIF_TIMEOUT=3000
|
NOTIF_TIMEOUT=5000
|
||||||
INFO=0
|
INFO=0
|
||||||
DRYRUN=0
|
DRYRUN=0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue