From b2cabe4c68686aa2c367e0cb1a001941b2385693 Mon Sep 17 00:00:00 2001 From: kenji Date: Tue, 30 Jun 2026 09:21:29 -0500 Subject: [PATCH] feat(steam): converted special steam workspace into a named workspace various issues arise under special workspaces. --- modules/home/gaming.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/modules/home/gaming.nix b/modules/home/gaming.nix index 403e3ed..90b11a4 100644 --- a/modules/home/gaming.nix +++ b/modules/home/gaming.nix @@ -74,16 +74,14 @@ in { ]; exec-once = [ - "[workspace special:steam silent] steam" + "[workspace name:steam silent] steam" ]; - bindd = [ - "SUPER, A, Toggle Steam, togglespecialworkspace, steam" - "SUPER SHIFT, A, Move to Steam Special Workspace, movetoworkspace, special:steam" + "SUPER, A, Focus Steam Workspace, workspace, name:steam" + "SUPER SHIFT, A, Move to Steam Workspace, movetoworkspace, name:steam" "SUPER, G, Switch to Gaming Workspace, exec, gaming-focus" "SUPER SHIFT, G, Move to Gaming Workspace, movetoworkspace, name:gaming" ]; - windowrule = [ "match:class ^(steam)$, hyprbars:no_bar on" @@ -97,9 +95,9 @@ in { "match:class ^(steam)$, suppress_event activate fullscreen maximize" # --- 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)$, workspace special:steam" + "match:class ^(steam)$, workspace name:steam" # --- STEAM GAME OVERRIDES --- # Override the float for actual games and move them to the gaming workspace. @@ -122,12 +120,10 @@ in { ++ (mkGameRules "class ^wine-.*$") ++ (mkGameRules "title ^Wine .*$") ++ (mkGameRules "initial_title ^(?i)godot.*$") - # ++ [ # "monitor 0, initialTitle:^(?i)godot.*$" # "fullscreen, initialTitle:^(?i)godot.*$" # "tile, initialTitle:^(?i)godot.*$" # ] - # Stayfocused rules ++ stayFocusedRules; }; }