dotfiles/hyprland/.config/hypr/hypridle.conf

12 lines
289 B
Plaintext

# 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
}