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 && ./home/lucas/scripts/restart-external-screen # Après réveil ignore_dbus_inhibit = false # Respecte les inhibiteurs DBus no_fade_in = true } 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 } animations { animation = fadeIn, 0 animation = fadeOut, 0 }