mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 06:51:54 -05:00
sway: fixed window resize rules
This commit is contained in:
parent
8c64e89fa7
commit
dcde2d8f87
|
@ -392,12 +392,24 @@
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
commands = [
|
commands = [
|
||||||
{
|
{
|
||||||
command = "floating enable; sticky toggle; resize 35% 10%";
|
command = "floating enable; sticky toggle; resize 35ppt 10ppt";
|
||||||
criteria = {
|
criteria = {
|
||||||
title = "^Picture-in-Picture$";
|
title = "^Picture-in-Picture$";
|
||||||
app_id = "firefox";
|
app_id = "firefox";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
command = "resize set 40ppt 60ppt";
|
||||||
|
criteria = {
|
||||||
|
app_id = "blueberry.py";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
command = "resize set 40ppt 60ppt";
|
||||||
|
criteria = {
|
||||||
|
app_id = "pavucontrol";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
workspaceAutoBackAndForth = true;
|
workspaceAutoBackAndForth = true;
|
||||||
|
|
Loading…
Reference in a new issue