From 43c3db7f8a8d92df5d9e44c07871282a0780ce03 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 20 Dec 2024 14:08:02 -0600 Subject: [PATCH] Center new floating windows --- modules/home-manager/hyprland.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 983e512..4f4c32a 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -286,6 +286,7 @@ in { windowrulev2 = float,class:^.*$ windowrulev2 = tile,class:^.*([Kk]itty|[Ff]irefox|[Ww]ezterm|[Dd]iscord|[Ss]potify|[Ss]lack).*$ windowrulev2 = opacity 1.0 0.95,class:^.*$ + windowrulev2 = center 1,floating:1 windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$ windowrulev2 = noanim, class:^(xwaylandvideobridge)$