From 82bb638fc269e3327311871af50bded9dccacfe1 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 31 Aug 2026 00:06:56 +0800 Subject: [PATCH] fix(niri): match clash-verge app-id case-insensitively The running clash-verge-rev reports app_id "clash-verge" (lowercase), so the anchored ^Clash-verge$ pattern never matched and the window opened on whatever workspace was focused (1terminal). Match case-insensitively. Change-Id: Iddabdbd66597a7325bdb08cb31434c1ee710dc3e --- home/linux/gui/niri/conf/windowrules.kdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/linux/gui/niri/conf/windowrules.kdl b/home/linux/gui/niri/conf/windowrules.kdl index 53bba8cf..75766051 100644 --- a/home/linux/gui/niri/conf/windowrules.kdl +++ b/home/linux/gui/niri/conf/windowrules.kdl @@ -107,7 +107,7 @@ window-rule { open-on-workspace "5utility" } window-rule { - match app-id="^Clash-verge$" + match app-id="(?i)^clash-verge$" match app-id="^[.]clash-verge-wrapped$" open-on-workspace "5utility" }