From d6fe14b803da98a1b7aa9f57fb4ab5e22c236c3f Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 9 Jun 2023 21:18:12 -0400 Subject: [PATCH] hyprland: Add gaps keybind Useful when you want to use gaps. --- modules/hyprland/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 13ecb21c..cc69fd0b 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -124,6 +124,7 @@ in { bind = SUPER, V, togglefloating, bind = SUPER, V, centerwindow, bind = SUPER, I, exec, hyprctl keyword decoration:dim_inactive $((1 - $(hyprctl getoption decoration:dim_inactive -j | jq -r ".int"))) + bind = SUPER, U, exec, 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:border_size $((1 - $(hyprctl getoption general:border_size -j | jq -r ".int"))) bind = SUPER, O, exec, killall .waybar-wrapped || waybar bind = SUPER, X, pin bind = SUPER, F, fullscreen, 1