From 89f9e6fc29b7553aa30f7698bb4bfcdf6f778c93 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 21 Jul 2024 10:08:51 +0200 Subject: [PATCH] pinwheel: Use store path for `jq` in `hyprland` monitor manager --- hosts/pinwheel/modules/hyprland/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index 91c4139..574f54f 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -94,7 +94,7 @@ in move = builtins.genList (x: "$mod SHIFT, ${ws x}, movetoworkspacesilent, ${builtins.toString (x + 1)}") 10; magnifier = pkgs.writeShellScript "magnifier" '' - CURRENT=$(${pkgs.hyprland}/bin/hyprctl getoption cursor:zoom_factor -j | jq .float) + CURRENT=$(${pkgs.hyprland}/bin/hyprctl getoption cursor:zoom_factor -j | ${pkgs.jq}/bin/jq .float) DELTA=0.1 UPDATED=1