This commit is contained in:
afoucaultc 2026-08-07 20:04:22 +02:00
parent 9be597750d
commit 00ca4baa74
41 changed files with 795 additions and 113 deletions

View file

@ -0,0 +1,41 @@
{ ... }:
{
programs.niri.settings.window-rules = [
{
matches = [ { app-id = "^firefox$"; } ];
default-column-width = {
proportion = 0.66667;
};
}
{
matches = [ { title = "^Picture-in-Picture$"; } ];
open-floating = true;
default-floating-position = {
x = 16;
y = 16;
relative-to = "bottom-right";
};
}
{
matches = [ { app-id = "^(pavucontrol|blueman-manager)$"; } ];
open-floating = true;
}
{
# Exemple : bordure/opacité par app
matches = [ { app-id = "^kitty$"; } ];
opacity = 0.95;
geometry-corner-radius = {
top-left = 8.0;
top-right = 8.0;
bottom-left = 8.0;
bottom-right = 8.0;
};
clip-to-geometry = true;
}
{
exclude-from-window-list = false;
matches = [ { is-active = false; } ];
opacity = 1.0;
}
];
}