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 {