From ce125f046c78e159f765d796f64680f22362cfe5 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 26 Apr 2024 08:12:37 -0400 Subject: [PATCH] waybar: improved reproducibility by reusing config.wayland.windowManager.hyprland.package --- homeManagerModules/apps/waybar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/apps/waybar/default.nix b/homeManagerModules/apps/waybar/default.nix index 772c9935..c7201048 100644 --- a/homeManagerModules/apps/waybar/default.nix +++ b/homeManagerModules/apps/waybar/default.nix @@ -40,7 +40,7 @@ "sort-by" = "id"; }; "hyprland/submap" = { - "on-click" = "${pkgs.hyprland}/bin/hyprctl dispatch submap reset"; + "on-click" = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch submap reset"; }; "hyprland/window" = { "format" = "";