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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user