From 0d247a205e18e19ce37c0b835d742ddb7d1f571a Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 19 Apr 2024 11:04:08 -0400 Subject: [PATCH] hyprland: hide gaps when only one window --- homeManagerModules/desktop/hypr/default.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/homeManagerModules/desktop/hypr/default.nix b/homeManagerModules/desktop/hypr/default.nix index 858189b6..b756f6a6 100644 --- a/homeManagerModules/desktop/hypr/default.nix +++ b/homeManagerModules/desktop/hypr/default.nix @@ -226,6 +226,7 @@ } dwindle { + no_gaps_when_only = 1 preserve_split = yes # you probably want this pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below } @@ -266,19 +267,6 @@ windowrulev2 = suppressevent maximize, class:.* - # # Workspace #1 - Browser - # windowrulev2 = workspace 1,class:(firefox) - - # # Workspace #2 - Coding - # workspace = name:code,2, rounding:false, decorate:false, gapsin:0, gapsout:0, border:false, decorate:false - # windowrulev2 = workspace name:code,class:(codium-url-handler) - - # windowrulev2 = workspace 4,class:(google-chrome) - - # # Scratchpad Magic - # windowrulev2 = workspace special:magic,class:(org.gnome.Fractal) - # windowrulev2 = workspace special:magic,class:(WebCord) - # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = ${modifier}, T, exec, ${terminal} bind = ${modifier}, F, exec, ${fileManager}