From db49deb7fd2fbe805ceec060aa4dec65009ad7a7 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 19 Mar 2024 18:22:25 +0400 Subject: Implement draw-border-with-background window rule --- resources/default-config.kdl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 014135fa..1b6cddf2 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -123,6 +123,9 @@ layout { // If you don't like that, you should uncomment `prefer-no-csd` below. // Niri will draw focus ring and border *around* windows that agree to omit their // client-side decorations. + // + // Alternatively, you can override it with a window rule called + // `draw-border-with-background`. // You can change how the focus ring looks. focus-ring { @@ -393,6 +396,13 @@ animations { // if it is equal to min-height. Either set this equal to min-height, // or change the window height manually for this to apply. max-height 300 + + // Override whether the border and the focus ring draw with a background. + // Set this to `true` to draw them as solid colored rectangles even for + // windows which agreed to omit their client-side decorations. + // Set this to `false` to draw them as borders around the window even for + // windows which use client-side decorations. + draw-border-with-background false } // Here's a useful example. Work around WezTerm's initial configure bug -- cgit