Files
arch-dotfiles/.config/hypr/hypridle.conf

18 lines
676 B
Plaintext

general {
lock_cmd = pidof hyprlock || hyprlock # Commande de verrouillage
unlock_cmd = pkill -x hyprlock # Commande de déverrouillage
before_sleep_cmd = loginctl lock-session # Avant la mise en veille
after_sleep_cmd = hyprctl dispatch dpms on
ignore_dbus_inhibit = false # Respecte les inhibiteurs DBus
}
listener {
timeout = 600 # 10 minutes d'inactivité
on-timeout = loginctl lock-session # Verrouille l'écran
}
listener {
timeout = 900 # 15 minutes d'inactivité
on-timeout = systemctl suspend # Met en veille
}