Files
dotfiles_arch/hypridle/.config/hypr/hypridle.conf
2025-12-19 23:40:16 +01:00

25 lines
500 B
Plaintext

general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
# locks screen after 5min
listener {
timeout = 300
on-timeout = loginctl lock-session
}
# turn of screen after 10min
listener {
timeout = 600
on-timeout = hyptrctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
# turns of pc after 60min of non use
listener {
timeout = 3600
on-timeout = systemctl suspend
}