diff --git a/programs/desktop/sway/default.nix b/programs/desktop/sway/default.nix index 9591077..075ffa2 100644 --- a/programs/desktop/sway/default.nix +++ b/programs/desktop/sway/default.nix @@ -80,19 +80,25 @@ border = 1; titlebar = false; 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";} - {app_id = "thunar";} - {class = "[Mm]atplotlib";} - {class = ".*\.py";} - {class = "Idl";} + (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";} + {app_id = "thunar";} + {class = "[Mm]atplotlib";} + {class = ".*\.py";} + {class = "Idl";} + ]) + ++ [ + { + criteria.class = "steam_app*"; + command = "inhibit_idle focus"; + } ]; }; floating.border = 1;