feat(steam): converted special steam workspace into a named workspace

various issues arise under special workspaces.
This commit is contained in:
kenji
2026-06-30 09:21:29 -05:00
parent 3a721e3eff
commit b2cabe4c68
+5 -9
View File
@@ -74,16 +74,14 @@ in {
]; ];
exec-once = [ exec-once = [
"[workspace special:steam silent] steam" "[workspace name:steam silent] steam"
]; ];
bindd = [ bindd = [
"SUPER, A, Toggle Steam, togglespecialworkspace, steam" "SUPER, A, Focus Steam Workspace, workspace, name:steam"
"SUPER SHIFT, A, Move to Steam Special Workspace, movetoworkspace, special:steam" "SUPER SHIFT, A, Move to Steam Workspace, movetoworkspace, name:steam"
"SUPER, G, Switch to Gaming Workspace, exec, gaming-focus" "SUPER, G, Switch to Gaming Workspace, exec, gaming-focus"
"SUPER SHIFT, G, Move to Gaming Workspace, movetoworkspace, name:gaming" "SUPER SHIFT, G, Move to Gaming Workspace, movetoworkspace, name:gaming"
]; ];
windowrule = windowrule =
[ [
"match:class ^(steam)$, hyprbars:no_bar on" "match:class ^(steam)$, hyprbars:no_bar on"
@@ -97,9 +95,9 @@ in {
"match:class ^(steam)$, suppress_event activate fullscreen maximize" "match:class ^(steam)$, suppress_event activate fullscreen maximize"
# --- STEAM CLIENT OVERRIDE --- # --- STEAM CLIENT OVERRIDE ---
# Override the float for the main Steam client, tile it, and move it to the special workspace. # Override the float for the main Steam client, tile it, and move it to the steam workspace.
"match:class ^(steam)$, tile on" "match:class ^(steam)$, tile on"
"match:class ^(steam)$, workspace special:steam" "match:class ^(steam)$, workspace name:steam"
# --- STEAM GAME OVERRIDES --- # --- STEAM GAME OVERRIDES ---
# Override the float for actual games and move them to the gaming workspace. # Override the float for actual games and move them to the gaming workspace.
@@ -122,12 +120,10 @@ in {
++ (mkGameRules "class ^wine-.*$") ++ (mkGameRules "class ^wine-.*$")
++ (mkGameRules "title ^Wine .*$") ++ (mkGameRules "title ^Wine .*$")
++ (mkGameRules "initial_title ^(?i)godot.*$") ++ (mkGameRules "initial_title ^(?i)godot.*$")
# ++ [
# "monitor 0, initialTitle:^(?i)godot.*$" # "monitor 0, initialTitle:^(?i)godot.*$"
# "fullscreen, initialTitle:^(?i)godot.*$" # "fullscreen, initialTitle:^(?i)godot.*$"
# "tile, initialTitle:^(?i)godot.*$" # "tile, initialTitle:^(?i)godot.*$"
# ] # ]
# Stayfocused rules
++ stayFocusedRules; ++ stayFocusedRules;
}; };
} }