mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-31 15:47:21 +02:00
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
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user