From f5f318dec901cb95181b7148109a0227864081df Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 27 May 2025 16:30:00 +0200 Subject: [PATCH] hardcoded hypridle wait time --- desktopenvs/hyprland/hypr-usr/idle.conf | 4 ---- desktopenvs/hyprland/hypr/hypridle.conf | 7 ++++++- 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 desktopenvs/hyprland/hypr-usr/idle.conf diff --git a/desktopenvs/hyprland/hypr-usr/idle.conf b/desktopenvs/hyprland/hypr-usr/idle.conf deleted file mode 100644 index 60bc7d7..0000000 --- a/desktopenvs/hyprland/hypr-usr/idle.conf +++ /dev/null @@ -1,4 +0,0 @@ -listener { - timeout = 300 # 5min - on-timeout = hyprlock # lock screen when timeout has passed -} diff --git a/desktopenvs/hyprland/hypr/hypridle.conf b/desktopenvs/hyprland/hypr/hypridle.conf index bbcf110..f851318 100644 --- a/desktopenvs/hyprland/hypr/hypridle.conf +++ b/desktopenvs/hyprland/hypr/hypridle.conf @@ -1,6 +1,11 @@ -source ~/.config/idle.conf +#source ~/.config/idle.conf general { lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. before_sleep_cmd = loginctl lock-session # lock before suspend. after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. } +listener { + timeout = 120 + on-timeout = hyprlock # lock screen when timeout has passed +} +