dotfiles/components/hyprland/hypridle.conf
2024-09-13 22:06:26 +05:00

18 lines
368 B
Plaintext

general {
lock_cmd = ~/.config/hypr/bin/lockscreen
before_sleep_cmd = loginctl lock-session
ignore_dbus_inhibit = false
ignore_systemd_inhibit = false
}
listener {
timeout = 300
on-timeout = loginctl lock-session
}
listener {
timeout = 60
on-timeout = ~/.config/hypr/bin/dimscreen d
on-resume = ~/.config/hypr/bin/dimscreen r
}