diff options
| -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 } |
