1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

hypr/hypridle.conf: skip suspend

This commit is contained in:
Henrik Hautakoski 2026-01-09 21:10:36 +01:00
parent 059282b88c
commit a7ac339c7a

View file

@ -1,8 +1,8 @@
general { general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend. # 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. # after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
} }
# Turn screen off after 5 min # Turn screen off after 5 min
@ -20,7 +20,7 @@ listener {
# Suspend after 30 min # Suspend after 30 min
listener { # listener {
timeout = 1800 # timeout = 1800
on-timeout = systemctl suspend # on-timeout = systemctl suspend
} # }