Files
dotfiles/.config/hypr/hypridle.conf
2025-07-05 16:01:18 +02:00

26 lines
488 B
Plaintext

general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session # lock before suspend
after_sleep_cmd = hyprctl dispatch dpms on
}
# Lock the screen
listener {
timeout = 300
on-timeout = loginctl lock-session
}
# Turn off screen
#listener {
# timeout = 420
# on-timeout = hyprctl dispatch dpms off
# on-resume = hyprctl dispatch dpms on
#}
# Suspend the system
listener {
timeout = 600
on-timeout = systemctl suspend
}