summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-10-10 20:58:18 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-10-10 20:58:18 +0800
commitd110e8c802302795170cc4d0fb3cc4153c7d06fe (patch)
treeb2ed34714dfd3051bc4815ff009305074c234a36
parent10cae726b61e949e165d633cce23e44fb59dc050 (diff)
update(idle): moved hyprlock to be with hypridle.sh
-rw-r--r--dot-config/hypr/hypridle.conf10
1 files 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
}