diff --git a/modules/desktop/niri/default.nix b/modules/desktop/niri/default.nix index 4324e57..e6e83af 100644 --- a/modules/desktop/niri/default.nix +++ b/modules/desktop/niri/default.nix @@ -26,6 +26,29 @@ let open-floating = true; 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 binds = {