diff --git a/apps/hypridle/default.nix b/apps/hypridle/default.nix index 8e2a011..aefb88d 100644 --- a/apps/hypridle/default.nix +++ b/apps/hypridle/default.nix @@ -11,7 +11,7 @@ after_sleep_cmd = "hyprctl dispatch dpms on"; ignore_dbus_inhibit = false; lock_cmd = "hakase-hyprlock"; - before_sleep_cmd = "loginctl lock-session"; # lock before suspend + before_sleep_cmd = "hakase-hyprlock"; # lock before suspend }; listener = [ @@ -21,7 +21,7 @@ # } { timeout = 300; # 5min - on-timeout = "loginctl lock-session"; # lock screen when timeout has passed + on-timeout = "hakase-hyprlock"; # lock screen when timeout has passed } { timeout = 330; # 5.5min