diff --git a/home/hyprland.nix b/home/hyprland.nix index e18ab32a..a75852cd 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -15,8 +15,8 @@ in executable = true; text = /* bash */ '' #!/usr/bin/env bash - hyprctl keyword general:gaps_out $((10 - $(hyprctl getoption general:gaps_out -j | jq -r ".int"))) - hyprctl keyword general:gaps_in $((5 - $(hyprctl getoption general:gaps_in -j | jq -r ".int"))) + hyprctl keyword general:gaps_out $((10 - $(hyprctl getoption general:gaps_out -j | jq -r ".custom" | choose 1))) + hyprctl keyword general:gaps_in $((5 - $(hyprctl getoption general:gaps_in -j | jq -r ".custom" | choose 1))) hyprctl keyword general:border_size $((2 - $(hyprctl getoption general:border_size -j | jq -r ".int"))) hyprctl keyword decoration:rounding $((8 - $(hyprctl getoption decoration:rounding -j | jq -r ".int"))) '';