sway: fixed window resize rules

This commit is contained in:
Aly Raffauf 2024-04-29 15:17:31 -04:00
parent 8c64e89fa7
commit dcde2d8f87

View file

@ -392,12 +392,24 @@
titlebar = false;
commands = [
{
command = "floating enable; sticky toggle; resize 35% 10%";
command = "floating enable; sticky toggle; resize 35ppt 10ppt";
criteria = {
title = "^Picture-in-Picture$";
app_id = "firefox";
};
}
{
command = "resize set 40ppt 60ppt";
criteria = {
app_id = "blueberry.py";
};
}
{
command = "resize set 40ppt 60ppt";
criteria = {
app_id = "pavucontrol";
};
}
];
};
workspaceAutoBackAndForth = true;