From 4488cbcf1b05590c5877f0407c298a241cc30393 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Thu, 27 Mar 2025 02:56:33 +0100 Subject: [PATCH] fix quirks.nix --- .../desktop-environment/home/niri/quirks.nix | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/modules/desktop-environment/home/niri/quirks.nix b/modules/desktop-environment/home/niri/quirks.nix index ce67532..9f92af1 100644 --- a/modules/desktop-environment/home/niri/quirks.nix +++ b/modules/desktop-environment/home/niri/quirks.nix @@ -1,16 +1,18 @@ {...}: { - window-rules = [ - # handle steam grabbing focus 1000 times on startup - { - matches = [ - { - app-id = "steam"; - } - ]; - open-focused = false; - } - ]; + programs.niri.settings = { + window-rules = [ + # handle steam grabbing focus 1000 times on startup + { + matches = [ + { + app-id = "steam"; + } + ]; + open-focused = false; + } + ]; - # fix electron apps not doing wayland - environment.ELECTRON_OZONE_PLATFORM_HINT = "auto"; + # fix electron apps not doing wayland + environment.ELECTRON_OZONE_PLATFORM_HINT = "auto"; + }; }