From 9f1d7860971e9d3c04ffbb11d549e1afa76bae9d Mon Sep 17 00:00:00 2001 From: pancakes
Date: Tue, 29 Jul 2025 01:51:44 +1000 Subject: [PATCH] Update layout and window rules --- niri/dot-config/niri/config.kdl | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/niri/dot-config/niri/config.kdl b/niri/dot-config/niri/config.kdl index ead5ef5..e607e4b 100644 --- a/niri/dot-config/niri/config.kdl +++ b/niri/dot-config/niri/config.kdl @@ -27,8 +27,7 @@ output "LG Electronics LG ULTRAGEAR 404NTCZ0R931" { variable-refresh-rate on-demand=true } layout { - gaps 10 - center-focused-column "on-overflow" + gaps 4 always-center-single-column preset-column-widths { proportion 0.33333 @@ -46,13 +45,6 @@ layout { active-color "#bb9af7" inactive-color "#414868" } - shadow { - on - softness 30 - spread 5 - offset x=0 y=5 - color "#0007" - } tab-indicator { place-within-column gap 4 @@ -173,6 +165,17 @@ window-rule { inactive-color "#aa0000" } } +window-rule { + match is-active=false + opacity 0.9 + draw-border-with-background false +} +window-rule { + match is-floating=true + shadow { + on + } +} // Enable shadows on launcher and notifications layer-rule { match namespace="^launcher$"