pinwheel: Use store path for jq in hyprland monitor manager

This commit is contained in:
Alexander Heldt
2024-07-21 10:08:51 +02:00
parent 9ac430e9e4
commit 89f9e6fc29

View File

@@ -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