From ac91f71a9218574aac566c58195be2e37b63ec8b Mon Sep 17 00:00:00 2001 From: Uyanide Date: Sat, 25 Apr 2026 22:48:29 +0200 Subject: [PATCH] niri: disable xray for floating windows --- config/niri/.config/niri/config/styles.kdl | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/config/niri/.config/niri/config/styles.kdl b/config/niri/.config/niri/config/styles.kdl index 706c71f..95feb50 100644 --- a/config/niri/.config/niri/config/styles.kdl +++ b/config/niri/.config/niri/config/styles.kdl @@ -91,10 +91,11 @@ layer-rule { } } -cursor { - xcursor-theme "Bibata-Modern-Ice" - xcursor-size 24 - hide-when-typing +window-rule { + match is-floating=true + background-effect { + xray false + } } // I love rounded corners @@ -103,6 +104,12 @@ window-rule { clip-to-geometry true } +cursor { + xcursor-theme "Bibata-Modern-Ice" + xcursor-size 24 + hide-when-typing +} + recent-windows { highlight { active-color "#89b4fa"