feat: steam rules only launch on steam T
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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)$"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user