From 9365ee0f5b090a82e4ea092601b7bc8edf5954d9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 14 May 2024 06:56:01 +0100 Subject: [PATCH] Set Steam to float by default instead of being tabbed --- programs/sway/default.nix | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/programs/sway/default.nix b/programs/sway/default.nix index ce01cf6..917cd56 100644 --- a/programs/sway/default.nix +++ b/programs/sway/default.nix @@ -99,24 +99,19 @@ window = { border = 1; commands = - (map (criteria: { - inherit criteria; - command = "floating enable"; - }) [ - {app_id = "org.kde.polkit-kde-authentication-agent-1";} - {app_id = "Pinentry";} - {app_id = "pavucontrol";} - {app_id = "\.blueman-manager-wrapped";} - {app_id = "nm-connection-editor";} - {class = "matplotlib";} - {class = ".*\.py";} - {class = "Idl";} - ]) - ++ [ - { - criteria = {class = "steam";}; - command = "layout tabbed"; - } + map (criteria: { + inherit criteria; + command = "floating enable"; + }) [ + {app_id = "org.kde.polkit-kde-authentication-agent-1";} + {app_id = "Pinentry";} + {app_id = "pavucontrol";} + {app_id = "\.blueman-manager-wrapped";} + {app_id = "nm-connection-editor";} + {class = "steam";} + {class = "matplotlib";} + {class = ".*\.py";} + {class = "Idl";} ]; }; floating.border = 1;