From 424f5a2e3b4e18989d1fe16728ab4fbf122207df Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Fri, 31 May 2024 13:56:43 +0200 Subject: [PATCH] only install hypridle locally to the hyprland config --- modules/hyprland.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 9b443ed..dec916f 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -78,10 +78,10 @@ in exec-once = [ "${pkgs.waybar}/bin/waybar" "${pkgs.dunst}/bin/dunst" - (lib.mkIf config.modules.automapaper.enable "${inputs.automapaper}/bin/automapaper -C ${config.xdg.configHome}/automapaper/config.toml") - (lib.mkIf config.modules.automapaper.enable "${inputs.automapaper}/bin/automapaper -C ${config.xdg.configHome}/automapaper/config2nd.toml") + (lib.mkIf config.modules.automapaper.enable "${inputs.automapaper.packages.${pkgs.system}.default}/bin/automapaper -C ${config.xdg.configHome}/automapaper/config.toml") + (lib.mkIf config.modules.automapaper.enable "${inputs.automapaper.packages.${pkgs.system}.default}/bin/automapaper -C ${config.xdg.configHome}/automapaper/config2nd.toml") "${cfg.package}/bin/hyprctl dispatcher focusmonitor 1" - "hypridle" + "${pkgs.hypridle}/bin/hypridle" ]; general = { sensitivity = "1.2";