From c361f1f7edf912cbbefca0149a44a458d794971b Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 14 Sep 2024 20:17:54 -0500 Subject: [PATCH] hyprland: fix resolution rules x2 Signed-off-by: Myned --- options/custom/desktops/hyprland/rules.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/options/custom/desktops/hyprland/rules.nix b/options/custom/desktops/hyprland/rules.nix index b4d3e66..b611ccf 100644 --- a/options/custom/desktops/hyprland/rules.nix +++ b/options/custom/desktops/hyprland/rules.nix @@ -83,9 +83,8 @@ in { + ( if ultrawide then - gap / 2 * 2 # Center layout padding between windows - else 0 + else - gap * 2 ) - - gap * 2 - border * 2 ); h = tr (height