# vim: set ft=config:
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle
general {
	lock_cmd = pgrep -u "$USER" hyprlock || hyprlock
	unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock
}

listener {
	timeout = 900
	on-timeout = loginctl lock-session
}