From b8f52b737ba613ab7920d95141dfa39d2dcf1921 Mon Sep 17 00:00:00 2001 From: Nicola <73220426+Zerodya@users.noreply.github.com> Date: Wed, 6 Dec 2023 14:35:47 +0100 Subject: [PATCH] Change notification timeout to 5 seconds --- README.md | 12 ++++++------ hyprfreeze | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index fe1d87d..450df23 100644 --- a/README.md +++ b/README.md @@ -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: ``` diff --git a/hyprfreeze b/hyprfreeze index 9503849..637228a 100644 --- a/hyprfreeze +++ b/hyprfreeze @@ -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