Add window rules for Picture-in-Picture and Minecraft in Niri configuration

This commit is contained in:
2026-06-20 16:48:36 -03:00
parent 55df00bafb
commit fe202a6843
+23
View File
@@ -26,6 +26,29 @@ let
open-floating = true; open-floating = true;
open-focused = false; open-focused = false;
} }
{
matches = [
{ title = "^(Picture-in-Picture|Picture in picture)$"; }
];
open-floating = true;
open-focused = false;
default-column-width = { fixed = 640; };
default-window-height = { fixed = 360; };
default-floating-position = _: {
props = {
x = 32;
y = 32;
relative-to = "bottom-right";
};
};
}
{
matches = [
{ app-id = "^Minecraft\\*"; }
{ app-id = "^Minecraft$"; }
];
tiled-state = true;
}
]; ];
#TODO[epic=Binds] Go over binds again #TODO[epic=Binds] Go over binds again
binds = { binds = {