diff --git a/programs/sway/default.nix b/programs/sway/default.nix index 53a97c0..d7f22c1 100644 --- a/programs/sway/default.nix +++ b/programs/sway/default.nix @@ -99,20 +99,25 @@ window = { border = 1; commands = - map (criteria: { + (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 = "[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";} - {class = "steam";} - {class = "[Mm]atplotlib";} - {class = ".*\.py";} - {class = "Idl";} - ]; + command = "layout tabbed"; + }) [{app_id = "Nxplayer.bin";}]) + ++ []; }; floating.border = 1; keybindings = with config; let