From d110e8c802302795170cc4d0fb3cc4153c7d06fe Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 10 Oct 2024 20:58:18 +0800 Subject: update(idle): moved hyprlock to be with hypridle.sh --- dot-config/hypr/hypridle.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dot-config/hypr/hypridle.conf b/dot-config/hypr/hypridle.conf index cf0367dd..cd503cff 100644 --- a/dot-config/hypr/hypridle.conf +++ b/dot-config/hypr/hypridle.conf @@ -5,14 +5,14 @@ general { after_sleep_cmd = $HOME/scripts/hypridle.sh --stopidle; hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. } -listener { - timeout = 300 # 5min - on-timeout = hyprlock # lock the screen. -} +# listener { +# timeout = 300 # 5min +# on-timeout = hyprlock # lock the screen. +# } listener { timeout = 900000 # 15min - on-timeout = $HOME/scripts/hypridle.sh --idle + on-timeout = hyprlock & $HOME/scripts/hypridle.sh --idle on-resume = $HOME/scripts/hypridle.sh --stopidle } -- cgit v1.2.3