fix: force floating window sizes

This commit is contained in:
Swarsel 2024-07-29 17:12:02 +02:00
parent 8f4fe686a5
commit d3a253c1b3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 6 additions and 6 deletions

View file

@ -7752,13 +7752,13 @@ Currently, I am too lazy to explain every option here, but most of it is very se
}; };
} }
{ {
command = "opacity 0.8, sticky enable, border normal, move container to scratchpad"; command = "resize set width 60 ppt height 60 ppt, opacity 0.8, sticky enable, border normal, move container to scratchpad";
criteria = { criteria = {
title = "^kittyterm$"; title = "^kittyterm$";
}; };
} }
{ {
command = "opacity 0.95, sticky enable, border normal, move container to scratchpad"; command = "resize set width 60 ppt height 60 ppt, opacity 0.95, sticky enable, border normal, move container to scratchpad";
criteria = { criteria = {
title = "^spotifytui$"; title = "^spotifytui$";
}; };
@ -7778,7 +7778,7 @@ Currently, I am too lazy to explain every option here, but most of it is very se
}; };
} }
{ {
command = "sticky enable"; command = "resize set width 60 ppt height 60 ppt, sticky enable";
criteria = { criteria = {
app_id = "discord"; app_id = "discord";
}; };

View file

@ -183,13 +183,13 @@ in
}; };
} }
{ {
command = "opacity 0.8, sticky enable, border normal, move container to scratchpad"; command = "resize set width 60 ppt height 60 ppt, opacity 0.8, sticky enable, border normal, move container to scratchpad";
criteria = { criteria = {
title = "^kittyterm$"; title = "^kittyterm$";
}; };
} }
{ {
command = "opacity 0.95, sticky enable, border normal, move container to scratchpad"; command = "resize set width 60 ppt height 60 ppt, opacity 0.95, sticky enable, border normal, move container to scratchpad";
criteria = { criteria = {
title = "^spotifytui$"; title = "^spotifytui$";
}; };
@ -209,7 +209,7 @@ in
}; };
} }
{ {
command = "sticky enable"; command = "resize set width 60 ppt height 60 ppt, sticky enable";
criteria = { criteria = {
app_id = "discord"; app_id = "discord";
}; };