Updated Hyprlock & Hypridle
This commit is contained in:
@@ -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";
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user