diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-09-02 17:34:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-09-02 17:34:59 +0800 |
| commit | 4e8a4df98f9a91879a711543d7f6a06265922d0a (patch) | |
| tree | 03cf59edfdcd5c0f62cf23136e4406220a0c2809 | |
| parent | a060f9b355a9cde2a9201bdb6c0e84e96d1ea337 (diff) | |
updates
| -rw-r--r-- | dot-config/hypr/hypridle.conf | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/dot-config/hypr/hypridle.conf b/dot-config/hypr/hypridle.conf index ace90550..aca40fca 100644 --- a/dot-config/hypr/hypridle.conf +++ b/dot-config/hypr/hypridle.conf @@ -5,8 +5,19 @@ general { } listener { - timeout = 1800000 # 30min - on-timeout = $HOME/scripts/hypridle.sh --idle # set monitor backlight to minimum, avoid 0 on OLED monitor. - on-resume = $HOME/scripts/hypridle.sh --stopidle # monitor backlight restore. + timeout = 300 # 5min + on-timeout = hyprlock # lock the screen. +} + +listener { + timeout = 1800000 # 30min + on-timeout = $HOME/scripts/hypridle.sh --idle + on-resume = $HOME/scripts/hypridle.sh --stopidle +} + +listener { + timeout = 1800000 # 30min + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on } |
