mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
sway: fixed window resize rules
This commit is contained in:
parent
8c64e89fa7
commit
dcde2d8f87
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue