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.
This commit is contained in:
kenji
2026-01-25 16:43:07 -06:00
parent 00011ed365
commit d148acd6dd
+3 -2
View File
@@ -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;
};
}