add niri
This commit is contained in:
parent
9be597750d
commit
00ca4baa74
41 changed files with 795 additions and 113 deletions
41
home/afoucaultc/packages/niri/conf/window-rules.nix
Normal file
41
home/afoucaultc/packages/niri/conf/window-rules.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue