From 94e35677a6b54f688e987d033f318b7c912462fc Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Thu, 28 Nov 2024 18:25:38 +0100 Subject: [PATCH] pinwheel: Fix `hyprland` "smart gaps" --- hosts/pinwheel/modules/hyprland/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/hyprland/default.nix b/hosts/pinwheel/modules/hyprland/default.nix index 0e3df19..c3f0d45 100644 --- a/hosts/pinwheel/modules/hyprland/default.nix +++ b/hosts/pinwheel/modules/hyprland/default.nix @@ -42,6 +42,13 @@ in workspace = 9, monitor:eDP-1 workspace = 10, monitor:eDP-1 + workspace = w[tv1], gapsout:0, gapsin:0 + workspace = f[1], gapsout:0, gapsin:0 + windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] + windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] + windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] + windowrulev2 = rounding 0, floating:0, onworkspace:f[1] + exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ''; @@ -84,7 +91,6 @@ in dwindle = { force_split = 2; - no_gaps_when_only = 1; }; bind =