From f6f42bd2c57d016dbeae5af91e177bfc9afa37ed Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 25 Oct 2024 13:40:24 +0100 Subject: [PATCH] Update hypridle to use nix paths --- system/home/desktop/hyprland.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/home/desktop/hyprland.nix b/system/home/desktop/hyprland.nix index 6c681fbe..39ccc54a 100644 --- a/system/home/desktop/hyprland.nix +++ b/system/home/desktop/hyprland.nix @@ -45,18 +45,19 @@ settings = let hyprctl = "${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl"; + hyprlock = "${config.programs.hyprlock.package}/bin/hyprlock"; in { general = { after_sleep_cmd = "${hyprctl} dispatch dpms on"; ignore_dbus_inhibit = false; - lock_cmd = "hyprlock"; + lock_cmd = "${hyprlock}"; }; listener = [ { timeout = 900; - on-timeout = "hyprlock"; + on-timeout = "${hyprlock}"; } { timeout = 1200;