summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}