From 94694b9e342b2fa16bd46200626a6437219d7af2 Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Mon, 17 Aug 2026 12:03:24 +0100 Subject: [PATCH] remove Niri shadows and Zen client padding Change-Id: Ib4801155111741de7cd9d93a4320167a6a6a6964 --- modules/home/niri/config.kdl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/home/niri/config.kdl b/modules/home/niri/config.kdl index ca6dec7..215dfb0 100644 --- a/modules/home/niri/config.kdl +++ b/modules/home/niri/config.kdl @@ -222,8 +222,7 @@ layout { // You can enable drop shadows for windows. shadow { - // Uncomment the next line to enable shadows. - // on + off // By default, the shadow draws only around its window, and not behind it. // Uncomment this setting to make the shadow draw behind its window. @@ -333,6 +332,13 @@ window-rule { open-floating true } +// Zen draws its own client-side shadow; clip it to Niri's square window geometry. +window-rule { + match app-id=r#"^zen-beta$"# + geometry-corner-radius 0 + clip-to-geometry true +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { -- 2.51.2