From a808d28157bebd7b250810abed2804108622cc28 Mon Sep 17 00:00:00 2001 From: jackjohn7 Date: Sun, 5 Apr 2026 17:40:43 -0500 Subject: [PATCH] add opencode-desktop (a bit unstable), make steam apps not pop up in center of screen with focus --- modules/features/layers/development.nix | 1 + modules/features/niri.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/modules/features/layers/development.nix b/modules/features/layers/development.nix index 04f132b..3ae4cb3 100644 --- a/modules/features/layers/development.nix +++ b/modules/features/layers/development.nix @@ -9,6 +9,7 @@ git zed-editor opencode + opencode-desktop direnv nix-direnv htop diff --git a/modules/features/niri.nix b/modules/features/niri.nix index f008870..90f6f9a 100644 --- a/modules/features/niri.nix +++ b/modules/features/niri.nix @@ -123,6 +123,20 @@ proportion = 1.0; }; } + { + matches = [ + { app-id = "steam"; } + { title = ''^notificationtoasts_\\d+_desktop$''; } + ]; + open-focused = false; + default-floating-position = { + _attrs = { + x = 10; + y = 10; + relative-to = "bottom-right"; + }; + }; + } ]; workspaces = {