feat: steam rules only launch on steam T

This commit is contained in:
kenji
2025-12-27 20:36:07 -06:00
parent 3f5f2fbcd6
commit 27c471addd
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -44,6 +44,7 @@
# apps
"SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open
"SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
"SUPER, T, Toggle Steam, togglespecialworkspace, steam"
# [Workspaces] Toggle between most recent workspaces
"SUPER, Tab, Cycle workspaces, workspace, previous"
+2
View File
@@ -22,6 +22,8 @@
"sh -c 'sleep 2; hyprctl dispatch workspace 1'"
"[workspace 1] uwsm app -- xdg-terminal-exec"
"[workspace special:steam silent] uwsm app -- steam"
];
};
}
+5
View File
@@ -18,6 +18,11 @@
# Prevent Firefox and Terminal from stealing focus on launch
"suppressevent activate, workspace:20"
"noinitialfocus, workspace:20"
# --- STEAM RULES ---
"workspace special:steam silent, class:^(steam)$"
"noinitialfocus, class:^(steam)$"
"suppressevent activate, class:^(steam)$"
];
};
}