From 2b2ffe0b1f3a310c568ac37709cec7a363b6e9c6 Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 2 Jan 2025 12:02:11 -0600 Subject: [PATCH] niri: modify rules Signed-off-by: Myned --- options/custom/desktops/niri/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/options/custom/desktops/niri/default.nix b/options/custom/desktops/niri/default.nix index d0281ce..cd9ce49 100644 --- a/options/custom/desktops/niri/default.nix +++ b/options/custom/desktops/niri/default.nix @@ -67,8 +67,8 @@ in { pip = with config.custom; rec { x = gap; y = gap; - w = builtins.floor (h * 16 / 9); # 16:9 - h = builtins.floor (height / 3.0 - gap * 2 - border); # 33% + w = builtins.floor (width * 0.3 - gap); # 30% + h = builtins.floor (w * 9 / 16); # 16:9 }; in with inputs.niri-flake.lib; @@ -80,6 +80,7 @@ in { (plain "window-rule" [ (leaf "match" {is-floating = true;}) (plain "border" [(flag "off")]) + (plain "focus-ring" [(flag "off")]) ]) (plain "window-rule" [