diff --git a/modules/desktop/hypridle.nix b/modules/desktop/hypridle.nix index 3c5aa21..b109444 100644 --- a/modules/desktop/hypridle.nix +++ b/modules/desktop/hypridle.nix @@ -18,7 +18,7 @@ in { enable = true; package = cfg.package; - lockCmd = "pidof hyprlock || ${lib.getExe config.modules.desktop.hyprlock.package}"; + lockCmd = "pidof hyprlock || ${config.modules.desktop.hyprland.package}/bin/hyprctl dispatch exec ${lib.getExe config.modules.desktop.hyprlock.package}"; unlockCmd = "pkill -USR1 hyprlock"; listeners = let