hardcoded hypridle wait time

main
Your Name 2025-05-27 16:30:00 +02:00
parent c4f8482a35
commit f5f318dec9
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +0,0 @@
listener {
timeout = 300 # 5min
on-timeout = hyprlock # lock screen when timeout has passed
}

View File

@ -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
}