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

14 lines
332 B
Plaintext
Raw Normal View History

2024-10-18 17:14:29 -05:00
# vim: set ft=config:
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hypridle
general {
2024-10-26 14:37:09 -05:00
lock_cmd = pgrep -u "$USER" hyprlock || hyprlock
2024-10-18 17:16:27 -05:00
unlock_cmd = pkill -xu "$USER" -SIGUSR1 hyprlock
2025-01-12 05:02:02 -06:00
before_sleep_cmd = loginctl lock-session
2024-10-18 17:14:29 -05:00
}
listener {
timeout = 900
on-timeout = loginctl lock-session
}