From a80bb7bd63fba0623bcd5878f7798d23468535a5 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 3 May 2026 12:10:11 +0800 Subject: [PATCH] fix: niri - window rules - match excatly empty string --- home/linux/gui/niri/conf/windowrules.kdl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/linux/gui/niri/conf/windowrules.kdl b/home/linux/gui/niri/conf/windowrules.kdl index 92dd778f..8592301f 100644 --- a/home/linux/gui/niri/conf/windowrules.kdl +++ b/home/linux/gui/niri/conf/windowrules.kdl @@ -105,7 +105,8 @@ window-rule { // Notifications shows top right window-rule { - match app-id="" + // match exactly empty string, avoid to be the default behavior + match app-id="^$" open-floating true open-focused false default-floating-position x=0 y=0 relative-to="top-right"