chore(home-manager): rework floating windows management

This commit is contained in:
Yorick Barbanneau 2025-04-09 19:42:51 +02:00
parent 85dbefc18e
commit 957afa66d0

View file

@ -170,18 +170,21 @@ in
}; };
} }
{ {
command = "border pixel 1"; command = "resize set 70ppt 70ppt, border pixel 2";
criteria = {
app_id = "gcr-prompter";
};
}
{
command = "floating enable, resize set 70ppt 70ppt, border pixel 1";
criteria = { criteria = {
title = "^Open .*$"; title = "^Open .*$";
}; };
}]; }];
}; };
floating = {
border = 2;
titlebar = false;
criteria = [
{
title = "^Open .*$";
}
];
};
gaps = { gaps = {
smartGaps = true; smartGaps = true;
smartBorders = "on"; smartBorders = "on";