From d148acd6dd47178a625e38f6a781c3c439ad4631 Mon Sep 17 00:00:00 2001 From: kenji Date: Sun, 25 Jan 2026 16:43:07 -0600 Subject: [PATCH] fix(gaming): add Deadlock window classes and enable stayfocused - Adds 'project8' and 'citadel' to the games list to correctly match Valve's Deadlock window class. - Enables 'stayfocused' rule in mkGameRules to prevent focus loss. --- modules/home/gaming.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/home/gaming.nix b/modules/home/gaming.nix index 809efe7..a5b9d31 100644 --- a/modules/home/gaming.nix +++ b/modules/home/gaming.nix @@ -6,6 +6,8 @@ }: let games = [ "Deadlock" + "project8" + "citadel" ]; mkGameRules = selector: [ @@ -13,7 +15,7 @@ "workspace name:gaming, ${selector}" "fullscreen, ${selector}" "immediate, ${selector}" - # "stayfocused, ${selector}" + "stayfocused, ${selector}" ]; manualGameRules = lib.flatten (map ( @@ -75,4 +77,3 @@ in { ++ manualGameRules; }; } -