From 2de24d60b973d009a4c609553d6193a2ccb0c1c2 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Fri, 4 Apr 2025 17:20:26 +0200 Subject: [PATCH] more steam quirks (who would have thought...) --- modules/desktop/home/niri/quirks.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/modules/desktop/home/niri/quirks.nix b/modules/desktop/home/niri/quirks.nix index 1f4eb31..7a9199e 100644 --- a/modules/desktop/home/niri/quirks.nix +++ b/modules/desktop/home/niri/quirks.nix @@ -4,29 +4,30 @@ window-rules = [ { # handle steam grabbing focus 1000 times on startup - matches = [ - {app-id = "steam";} - ]; - excludes = [ - {title = "(Guild Wars 2)";} + { + app-id = "steam"; + title = "Steam"; + } ]; open-focused = false; } { # position steam notifs correctly: https://github.com/YaLTeR/niri/wiki/Application-Issues - matches = [ { app-id = "steam"; - title = "^notificationtoasts_\\d+desktop$"; + title = "^notificationtoasts_[\\d]+_desktop$"; } ]; default-floating-position = { - x = 10; - y = 10; + x = 0; + y = 0; relative-to = "bottom-right"; }; + shadow.enable = false; + border.enable = false; + baba-is-float = false; } { matches = [