Simplify sway window rule setting

Add various Python and IDL windows to floating window rule
This commit is contained in:
Evie Litherland-Smith 2024-05-13 16:46:39 +01:00
parent 7d84e1be39
commit 12dd40b3c8

View file

@ -98,27 +98,21 @@
]; ];
window = { window = {
border = 1; border = 1;
commands = [ commands =
{ (map (criteria: {
criteria = {app_id = "org.kde.polkit-kde-authentication-agent-1";}; inherit criteria;
command = "floating enable"; command = "floating enable";
} }) [
{ {app_id = "org.kde.polkit-kde-authentication-agent-1";}
criteria = {app_id = "Pinentry";}; {app_id = "Pinentry";}
command = "floating enable"; {app_id = "pavucontrol";}
} {app_id = "\.blueman-manager-wrapped";}
{ {app_id = "nm-connection-editor";}
criteria = {app_id = "pavucontrol";}; {class = "matplotlib";}
command = "floating enable"; {class = ".*\.py";}
} {class = "Idl";}
{ ])
criteria = {app_id = ".blueman-manager-wrapped";}; ++ [
command = "floating enable";
}
{
criteria = {app_id = "nm-connection-editor";};
command = "floating enable";
}
{ {
criteria = {class = "steam";}; criteria = {class = "steam";};
command = "layout tabbed"; command = "layout tabbed";