diff --git a/configs/niri.nix b/configs/niri.nix index 150f458..c56024b 100644 --- a/configs/niri.nix +++ b/configs/niri.nix @@ -194,6 +194,20 @@ let clip-to-geometry true } + window-rule { + match app-id="mpv" + open-floating true + } + window-rule { + match app-id="rofi" + open-floating true + } + window-rule { + match app-id=r#"firefox$"# title="^Picture-in-Picture$" + open-floating true + default-floating-position x=32 y=32 relative-to="bottom-left" + } + window-rule { match is-window-cast-target=true