Updated Hyprlock & Hypridle

This commit is contained in:
2025-12-07 22:17:59 -05:00
parent ab088fcba5
commit 70fd1d8fae
3 changed files with 5 additions and 4 deletions

View File

@@ -6,8 +6,9 @@
enable = true;
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock";
lock_cmd = "pidof hyprlock || hyprlock --grace 10";
before_sleep_cmd = "loginctl lock-session";
fail_timeout = 1000;
};
listener = [
{
@@ -15,12 +16,12 @@
on-timeout = "loginctl lock-session";
}
{
timeout = 600;
timeout = 450;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
{
timeout = 1800;
timeout = 600;
on-timeout = "systemctl suspend || loginctl suspend";
}
];