Simplify sway window rule setting
Add various Python and IDL windows to floating window rule
This commit is contained in:
parent
7d84e1be39
commit
12dd40b3c8
|
@ -98,32 +98,26 @@
|
||||||
];
|
];
|
||||||
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 = {class = "steam";};
|
||||||
{
|
command = "layout tabbed";
|
||||||
criteria = {app_id = "nm-connection-editor";};
|
}
|
||||||
command = "floating enable";
|
];
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = {class = "steam";};
|
|
||||||
command = "layout tabbed";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
floating.border = 1;
|
floating.border = 1;
|
||||||
keybindings = with config; let
|
keybindings = with config; let
|
||||||
|
|
Reference in a new issue